Status: Unconfirmed Owner: [email protected] Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 5751 by alastairpatrick: When an npruntime plugin returns the same NPObject multiple times into Chrome, the objects are not equal according to === http://code.google.com/p/chromium/issues/detail?id=5751 Chrome Version : 1.0.154.36 URLs (if applicable) : Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 3: Unknown Firefox 3: OK IE 7: OK (using COM instead of npruntime) What steps will reproduce the problem? 1. From an npruntime plugin, return the same NPObject multiple times, for example as a result of the getProperty callback. 2. Compare the objects in JavaScript: var a = plugin.p; // a is an object var b = plugin.p; // b should be the same object if (a === b) { alert('objects are the same'); // this should run } What is the expected result? The JavaScript === operator should return true for a and b. The ==, != and !=== operators should also work as expected. What happens instead? The === operator returns false for a and b. Please provide any additional information below. Attach a screenshot if possible. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
