[Webkit-unassigned] [Bug 84906] New: [V8] Constructors are reported as read only but they are not really read only

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 25 16:51:53 PDT 2012


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

           Summary: [V8] Constructors are reported as read only but they
                    are not really read only
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: haraken at chromium.org


The descriptor for the constructor WebIDL attributes on Window are broken

Object.getOwnPropertyDescriptor(window, 'HTMLBodyElement')
configurable: true
enumerable: true
value: function HTMLBodyElement() { [native code] }
writable: false

window.HTMLBodyElement = 42;
42

Object.getOwnPropertyDescriptor(window, 'HTMLBodyElement')
configurable: true
enumerable: true
value: 42
writable: true

The Apple port (JSC) correctly returns writable: true

-- 
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