JavaScriptCore:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2006 17:00:55 +0000 (17:00 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2006 17:00:55 +0000 (17:00 +0000)
commitc52013a3712d9b8a4493cb748f4e802709c271e5
tree37194d0c854e9da2caec3c1c5dbcc04fbec15e13
parent4f9fbe981e146cecfb121dbd42d19d437a85a1ca
JavaScriptCore:

        Reviewed by Geoff, landed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5308
          Number.toFixed doesn't include leading 0

        * kjs/number_object.cpp: (NumberProtoFunc::callAsFunction):
        Fixed a "<" that should have been a "<=".

LayoutTests:

        Reviewed by Geoff, reworked and landed by Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5308
          Number.toFixed doesn't include leading 0

        * fast/js/resources/number-tofixed.js: Added some test cases for toFixed(1).
        * fast/js/number-tofixed-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/number_object.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/number-tofixed-expected.txt
LayoutTests/fast/js/resources/number-tofixed.js