WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
220724
CSP: Consider dropping support for 'plugin-types'
https://bugs.webkit.org/show_bug.cgi?id=220724
Summary
CSP: Consider dropping support for 'plugin-types'
Antonio Sartori
Reported
2021-01-19 00:57:17 PST
There is a discussion on the Content Security Policy spec about removing the 'plugin-types' directive, which is not that helpful anymore since Flash support has been discontinued, see
https://github.com/w3c/webappsec-csp/issues/394
. Would WebKit be also interested in dropping that?
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-01-21 18:15:13 PST
<
rdar://problem/73478460
>
Antonio Sartori
Comment 2
2021-02-19 04:36:46 PST
Notice that even if it looks like WebKit does not support plugin-types (
https://wpt.fyi/results/content-security-policy/plugin-types?label=master&label=experimental&aligned
,
https://wpt.fyi/results/content-security-policy/plugin-types?sha=f207cfdd15&label=master&max-count=1
), there seems to be some plugin-types related check in the code
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/html/HTMLPlugInImageElement.cpp#L304
Brent Fulgham
Comment 3
2026-04-07 12:30:34 PDT
Indeed, this was completely removed. See
https://github.com/w3c/webappsec-csp/pull/456
. This is now creating compatibility issues so we should clean this up.
Brent Fulgham
Comment 4
2026-04-07 12:33:08 PDT
This is now tracked by: <
rdar://problem/144415855
>
Brent Fulgham
Comment 5
2026-04-07 13:04:06 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/62211
EWS
Comment 6
2026-04-10 09:45:26 PDT
Committed
310938@main
(488d5d7e89af): <
https://commits.webkit.org/310938@main
> Reviewed commits have been landed. Closing PR #62211 and removing active labels.
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