Closed
Bug 1303093
Opened 8 years ago
Closed 8 years ago
Plugin Check site broken in Nightly 51 by unenumerable named properties of navigator.mimeTypes
Categories
(Plugin Check Graveyard :: Client, defect)
Plugin Check Graveyard
Client
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1303076
People
(Reporter: cpeterson, Unassigned)
References
()
Details
Bug 1270364 made the named properties of navigator.plugins and navigator.mimeTypes unenumerable in Nightly 51 build 2016-09-01. This broke the Plugin Check website, which now throws an exception in versionCompare() when trying to enumerate navigator.mimeTypes. Plugin Check should still be able to work because it indexes into navigator.mimeTypes as an array. Only the named properties are now unenumerable.
Bug 1270364 was backed out in Nightly 51 build 2016-09-15, so you will an earlier Nightly build to reproduce the problem:
http://ftp.mozilla.org/pub/firefox/nightly/2016/09/2016-09-14-03-02-00-mozilla-central/
bz plans to reland bug 1270364 in Nightly 52, when we drop support for NPAPI plugins other than Flash (bug 1269807).
https://www.mozilla.org/plugincheck/
Unminified sources:
https://github.com/mozilla/bedrock/blob/master/media/js/plugincheck/lib/plugincheck.js
https://github.com/mozilla/bedrock/blob/master/media/js/plugincheck/lib/utils.js#L46
https://github.com/mozilla/bedrock/blob/master/media/js/plugincheck/lib/version-compare.js#L33
Flags: needinfo?(schalk.neethling.bugs)
![]() |
||
Comment 1•8 years ago
|
||
Note that these properties are not enumerable in other browsers; is plugincheck just broken in them?
Reporter | ||
Comment 2•8 years ago
|
||
Other browsers are not currently supported, though I'm pretty sure they used to be. In Chrome today, the plugincheck site tells me: "Currently the plugin check service is only available to Firefox users on desktop and Android."
Comment 3•8 years ago
|
||
We have a patch here to fix the issue after Kohei alerted us to the breakage: https://github.com/mozilla/bedrock/pull/4346
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Flags: needinfo?(schalk.neethling.bugs)
You need to log in
before you can comment on or make changes to this bug.
Description
•