[Webkit-unassigned] [Bug 85234] New: [V8] Incorrect [[Class]] for DOM prototypes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 30 14:29:04 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85234

           Summary: [V8] Incorrect [[Class]] for DOM prototypes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: japhet at chromium.org, haraken at chromium.org


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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list