Issue 3786: Inconsistent/incorrect Javascript operator== and operator===  
for plugin objects
http://code.google.com/p/chromium/issues/detail?id=3786

New issue report by [EMAIL PROTECTED]:
Chrome Version       : 0.3.154.6 (Official Build 3810)
URLs (if applicable) :
http://www.google.com/earth/plugin/examples/samples/#geplugin_browserok
Other browsers tested: FF3, IE7
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: FAIL
     Firefox 3: OK
          IE 7: OK

What steps will reproduce the problem?
1. open  
http://www.google.com/earth/plugin/examples/samples/#geplugin_browserok
2. enter the following code into the code text box (lower center):

   log(ge);
   log(ge == ge);

   log(ge.getWindow());
   log(ge.getWindow() == ge.getWindow());
   var p = ge.getWindow();
   var q = ge.getWindow();
   log(p == p);
   log(p === p);
   log(p == q);
   log(p === q);

What is the expected result?

In the log area (upper right), the correct text is:

[object] type=GEPlugin
true
[object] type=GEWindow
true
true
true
true
true

What happens instead?

[object] type=GEPlugin
true
[object] type=GEWindow
false
true
true
false
false

Please provide any additional information below. Attach a screenshot if
possible.

ToT chromium browser DOES give the correct result when run in --single-
process mode!

This is also filed as a bug in webkit:  
https://bugs.webkit.org/show_bug.cgi?id=20305

However, due to V8 & cross-process I suspect the chromium code is probably
quite different from webkit so the failure mechanism may be different.




Issue attributes:
        Status: Unconfirmed
        Owner: [EMAIL PROTECTED]
        Labels: Type-Bug Pri-2 OS-All Area-Misc

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

Reply via email to