[Webkit-unassigned] [Bug 245847] New: Remove plugin features unrelated to PDF support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 29 14:23:38 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245847

            Bug ID: 245847
           Summary: Remove plugin features unrelated to PDF support
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220929/a77db0f3/attachment.htm>


More information about the webkit-unassigned mailing list