Bug 85234

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

Description Erik Arvidsson 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))


"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
Comment 1 Erik Arvidsson 2013-05-10 13:43:02 PDT
Moved to https://code.google.com/p/chromium/issues/detail?id=239915