[Webkit-unassigned] [Bug 48337] New: V8 bindings report readonly idl attributes as writable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 26 09:48:27 PDT 2010


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

           Summary: V8 bindings report readonly idl attributes as writable
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: dglazkov at chromium.org, japhet at chromium.org,
                    antonm at chromium.org


Given:

var event = document.createEvent('Event');
JSON.stringify(Object.getOwnPropertyDescriptor(event, 'currentTarget'))

returns

{"value":null,"writable":true,"enumerable":true,"configurable":true}

But the Event.idl file says

 readonly attribute EventTarget      currentTarget;


Safari + JSC returns 

{"value":null,"writable":false,"enumerable":true,"configurable":false}

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