Bug 104263

Summary: DOM bindings do not work with delete
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, oliver, sam, webkit.arunp
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Erik Arvidsson
Reported 2012-12-06 07:45:44 PST
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'));
Attachments
Note You need to log in before you can comment on or make changes to this bug.