Bug 85234

Summary: [V8] Incorrect [[Class]] for DOM prototypes
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: haraken, japhet
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Erik Arvidsson
Reported 2012-04-30 14:29:04 PDT
The internal class for DOM prototypes is set to "Object". It should be set to "InterfaceNamePrototype". For example assertEquals('[object DocumentPrototype]',Object.prototype.toString.call(Document.prototype)) http://dev.w3.org/2006/webapi/WebIDL/#interface-prototype-object "The class string of an interface prototype object is the concatenation of the interface’s identifier and the string “Prototype”." This is causing one of the FAIL lines in LayoutTests/fast/dom/DOMException/prototype-object.html
Attachments
Erik Arvidsson
Comment 1 2013-05-10 13:43:02 PDT
Note You need to log in before you can comment on or make changes to this bug.