Bug 245847
Summary: | Remove plugin features unrelated to PDF support | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=245396 |
Brent Fulgham
Now that all NPAPI plugin features have been removed, the only reason for 'navigator.plugin' to exist is to support websites checking for PDF support.
The HTML spec was updated last year to have a hard-coded lists of plugins (either 0 or 5) for web compatibility, with the idea that all browsers have those 5 plugins. We've also added navigator.pdfViewerSupported as a boolean for simpler feature detection going forward.
* Spec PR: https://github.com/whatwg/html/pull/6738
* New spec: https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support
* Tests: https://github.com/web-platform-tests/wpt/pull/29559 (not yet reviewed/merged)
The hard-coded list is being worked on in Bug 245396.
To simplify that work, this patch removes the deprecated code involved in supporting non-PDF plugins.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/100870366>