[Webkit-unassigned] [Bug 33595] New: __proto__ property of plugin object returns null

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 13 05:50:33 PST 2010


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

           Summary: __proto__ property of plugin object returns null
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kent.hansen at nokia.com


Example: In LayoutTests/plugins/netscape-enumerate.html,
"plugin.testObject.__proto__" gives null as the result.
"plugin.testObject.hasOwnProperty('__proto__')" returns false. Shouldn't all
objects by definition have a __proto__ property, since it mirrors the internal
[[Prototype]] property? In FireFox, a non-null prototype is returned, and the
hasOwnProperty() call returns true.

"plugin.testObject instanceof Object" returns true, so the internal prototype
actually appears to be Object.prototype.

-- 
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