[Webkit-unassigned] [Bug 55034] New: The global object's Math property should be deletable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 04:04:12 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=55034

           Summary: The global object's Math property should be deletable
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kent.hansen at nokia.com


>From ECMA-262 5th edition, section 15.1: "Unless otherwise specified, the standard built-in properties of the global object have attributes {[[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true}".
The other built-in properties of the Global Object can be deleted just fine, as expected, but not the Math property. Is there some meaning behind this inconsistency?
With V8, Math can be deleted. With SpiderMonkey, the delete operator returns true, but the property is still there afterwards.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list