Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 21067 by LittleManGopo: NPN_UserAgent return value does not
contain any reference to Chrome
http://code.google.com/p/chromium/issues/detail?id=21067
Chrome Version : 4.0.204.0 (24877)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4: OK
Firefox 3.x: OK
IE 7: OK (N/A)
IE 8: OK (N/A)
What steps will reproduce the problem?
1. From a plugin call NPN_UserAgent returns:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061103
Firefox/2.0a1
2. From JavaScript calling navigator.userAgent gives:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML,
like Gecko) Chrome/4.0.204.0 Safari/532.0
What is the expected result?
The results should match, i.e. the string sent to the plugin should be the
same as the one sent to JavaScript, or at least it should identify itself
as Chrome.
What happens instead?
The user agent string is does not contain eny reference to Chrome.
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
-~----------~----~----~----~------~----~------~--~---