[Webkit-unassigned] [Bug 104263] New: DOM bindings do not work with delete

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 6 07:43:17 PST 2012


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

           Summary: DOM bindings do not work with delete
           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


For some reason delete does not work to remove properties from the dom wrappers (both JSC and V8)

assert(window.hasOwnProperty('NodeList'));
delete window.NodeList;
assert(!window.hasOwnProperty('NodeList'));

assert(Element.prototype.hasOwnProperty('focus'));
delete Element.prototype.focus;
assert(!Element.prototype.hasOwnProperty('focus'));

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