Change 20061108-ptw-b by [EMAIL PROTECTED] on 2006-11-08
16:08:18 EST
in /Users/ptw/OpenLaszlo/legals-2/WEB-INF/lps/lfc
Summary: formatToString depended on invalid JS semantics
Bugs Fixed:
LPP-NaN: testFormat failed: Equals: expected " 0000.00" got «debugger/
LzMessage.lzs#19/17#56(8)#55| "000 0.00"»
Technical Reviewer: henry (pending)
QA Reviewer: mamye (pending)
Doc Reviewer: n/a
Details:
Number(' ') is NaN in swf. It should be +0, per ECMA:
• A StringNumericLiteral that is empty or contains only white
space is converted to +0.
I was really just looking to see if the number had a leading sign
(or space), so do that.
Tests:
test/smoke/simple.lzx, which includes the debugger format test.
Files:
M debugger/LzFormat.lzs
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061108-ptw-
b.tar