JavaScriptCore:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2006 16:47:02 +0000 (16:47 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2006 16:47:02 +0000 (16:47 +0000)
commit4f9fbe981e146cecfb121dbd42d19d437a85a1ca
tree6d388dc082ca6af58f2609db146ff67b4e2442f6
parent2014cf165a11a4af8e6717cf5cd2583a795f7d15
JavaScriptCore:

        Reviewed by Geoff, landed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5307
          Number.toFixed doesn't round 0.5 up

        * 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=5307
          Number.toFixed doesn't round 0.5 up

        * fast/js/number-tofixed-expected.txt: Added.
        * fast/js/number-tofixed.html: Added.
        * fast/js/resources/number-tofixed.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/number_object.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/number-tofixed-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/number-tofixed.html [new file with mode: 0644]
LayoutTests/fast/js/resources/number-tofixed.js [new file with mode: 0644]