[Webkit-unassigned] [Bug 20305] New: NPAPI: === returns false for identical NPObjects returned from a plugin.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 6 09:23:03 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20305
Summary: NPAPI: === returns false for identical NPObjects
returned from a plugin.
Product: WebKit
Version: 526+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: playmobil at google.com
The === JS operator appears to have a bug when comparing identical NPObjects
returned from a plugin.
a = plugin.getObject();
b = plugin.getObject(); // Returns the same underlying object as the one above.
// a === b is false, a == b is true.
alert(a); // NPObject 0x865c3d4, NPClass 0x4d7e780
alert(b); // NPObject 0x865c3d4, NPClass 0x4d7e780
alert(typeof(a)); // object
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list