[Webkit-unassigned] [Bug 6267] New: Fix Number.prototype.toFixed/toExponential(undefined)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Dec 27 20:26:00 PST 2005


http://bugzilla.opendarwin.org/show_bug.cgi?id=6267

           Summary: Fix Number.prototype.toFixed/toExponential(undefined)
           Product: WebKit
           Version: 412+
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: maksim at kde.org


The attached fixes the two functions to properly handle being passed undefined 
as per spec, and not to exception. toFixed is supposed to handle it as 0; 
while toExponential has special handling; that was implemented, but was 
prevented from running by a wrong range check. This is tested by KJS's 
Number.js

-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list