Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 7604 by api.roman.public: navigator.plugins.refresh doesn't work
unless using 'true' first argument to refresh the page
http://code.google.com/p/chromium/issues/detail?id=7604
Chrome Version : 1.0.154.48
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 3: OK
Firefox 3: OK
IE 7: FAIL (different mechanism)
What steps will reproduce the problem?
1. Open http://code.google.com/apis/earth/#geplugin_browserok
2. Open the console and type
navigator.mimeTypes["application/geplugin"]
Notice the value is 'undefined'.
3. Install the Google Earth Plugin by clicking the download link.
4. In the console, type
navigator.plugins.refresh(false)
5. Check again for the existence of the plugin:
navigator.mimeTypes["application/geplugin"]
Notice it's still undefined.
6. In the console, type
navigator.plugins.refresh(true)
The page will reload.
7. Check now for the existence of the plugin:
navigator.mimeTypes["application/geplugin"]
Notice now there's a value (MimeType)
What is the expected result?
navigator.mimeTypes['application/geplugin'] should not be undefined after
calling navigator.plugins.refresh(false).
What happens instead?
The plugin isn't detected to be installed unless the page is reloaded.
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
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---