WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
245847
Remove plugin features unrelated to PDF support
https://bugs.webkit.org/show_bug.cgi?id=245847
Summary
Remove plugin features unrelated to PDF support
Brent Fulgham
Reported
2022-09-29 14:23:38 PDT
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
Comment 1
2022-10-06 14:24:18 PDT
<
rdar://problem/100870366
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug