Bug 1690981 [wpt PR 27500] - CSP: Remove 'plugin-types' directive, a=testonly
commitb07391dc51ef128ba5219575010ef0f8519f727b
authorAntonio Sartori <antoniosartori@chromium.org>
Thu, 11 Feb 2021 16:44:44 +0000 (11 16:44 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 12 Feb 2021 06:21:41 +0000 (12 06:21 +0000)
treeab644159be68e18643c7504e6719511f82929a61
parentd5c8ff44e13bf5fb0953fab1d9672e480c24f3ed
Bug 1690981 [wpt PR 27500] - CSP: Remove 'plugin-types' directive, a=testonly

Automatic update from web-platform-tests
CSP: Remove 'plugin-types' directive

The Content Security Policy directive 'plugin-types' is being removed
by the specification
(https://github.com/w3c/webappsec-csp/pull/456). This CL removes the
code parsing and checking the 'plugin-types' directive from Blink and
from the services/network CSP parser. All WP tests for plugin-types
are removed, too.

When parsing a plugin-types directive, we display a console error
message informing that the directive has been removed and that
object-src can be used instead.

Bug: 1168001
Change-Id: I61420677a0f11f8daf46c473e578d66c932751d1
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643282
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851760}

--

wpt-commits: 8959b13684b68186781340c044d9c1b62a388358
wpt-pr: 27500
testing/web-platform/tests/content-security-policy/embedded-enforcement/subsumption_algorithm-general.html
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-empty.sub.html [deleted file]
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-mismatched-data.html [deleted file]
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-mismatched-url.html [deleted file]
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-notype-data.html [deleted file]
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-notype-url.html [deleted file]
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-nourl-allowed.html [deleted file]
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-nourl-allowed.html.sub.headers [deleted file]
testing/web-platform/tests/content-security-policy/plugin-types/plugintypes-nourl-blocked.html [deleted file]