Bug 85234 - [V8] Incorrect [[Class]] for DOM prototypes
Summary: [V8] Incorrect [[Class]] for DOM prototypes
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 14:29 PDT by Erik Arvidsson
Modified: 2013-05-10 13:43 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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))

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