Bug 85234
| Summary: | [V8] Incorrect [[Class]] for DOM prototypes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Erik Arvidsson <arv> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | haraken, japhet |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Erik Arvidsson
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Erik Arvidsson
Moved to https://code.google.com/p/chromium/issues/detail?id=239915