Bug 1650806 [wpt PR 24460] - Change document policy parser to use structured header...
commit7ad9af05885f30803e8a8ba405725783c612f74b
authorCharlie Hu <chenleihu@google.com>
Fri, 17 Jul 2020 11:12:54 +0000 (17 11:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 18 Jul 2020 02:09:12 +0000 (18 02:09 +0000)
tree2d0fe00b41f08595863266143d1632914e8f57b8
parent81fd7293178562e73ed8c2ce8ff90a3e181295d3
Bug 1650806 [wpt PR 24460] - Change document policy parser to use structured header dictionary, a=testonly

Automatic update from web-platform-tests
Change document policy parser to use structured header dictionary

This CL is based on the spec change on
https://github.com/w3c/webappsec-feature-policy/pull/388/files?short_path=1a56774.

Since the parameter names are removed in this change, feature names
will have to change so that they remain meaningful. This will be
addressed in follow-up CLs.

Change-Id: Ic87dcb5bf26e440dd5041ae31d7b248e7d85d93a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2281104
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Charlie Hu <chenleihu@google.com>
Cr-Commit-Position: refs/heads/master@{#786929}

--

wpt-commits: 78d5125d6c9e0e48accc6040499db5477d5c311b
wpt-pr: 24460
20 files changed:
testing/web-platform/tests/document-policy/echo-policy-nested.html.headers
testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html.headers
testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.headers
testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.headers
testing/web-platform/tests/document-policy/experimental-features/unsized-media.tentative.https.sub.html.headers
testing/web-platform/tests/document-policy/font-display/font-display-document-policy-01.tentative.html.headers
testing/web-platform/tests/document-policy/font-display/font-display-document-policy-report-only.tentative.html.headers
testing/web-platform/tests/document-policy/font-display/font-display-document-policy-reporting.tentative.html.headers
testing/web-platform/tests/document-policy/reporting/oversized-images-reporting.html.headers
testing/web-platform/tests/document-policy/reporting/unoptimized-lossy-images-reporting-onload.html.headers
testing/web-platform/tests/document-policy/reporting/unoptimized-lossy-images-reporting.html.headers
testing/web-platform/tests/document-policy/reporting/unsized-media-reporting.html.headers
testing/web-platform/tests/document-policy/required-policy/document-policy.html
testing/web-platform/tests/document-policy/required-policy/document-policy.html.headers
testing/web-platform/tests/document-policy/required-policy/no-document-policy.html
testing/web-platform/tests/document-policy/required-policy/required-document-policy-nested.html
testing/web-platform/tests/document-policy/required-policy/required-document-policy.html
testing/web-platform/tests/document-policy/required-policy/required-document-policy.html.headers
testing/web-platform/tests/document-policy/required-policy/separate-document-policies.html
testing/web-platform/tests/document-policy/required-policy/separate-document-policies.html.headers