Bug 1515915 [wpt PR 14632] - Add new Feature-Policy-Report-Only header, a=testonly

Automatic update from web-platform-tests
Add new Feature-Policy-Report-Only header

This removes the special parsing for "-report-only" features, and
replaces it with the new "Feature-Policy-Report-Only" header, as
noted in the explainer.
(https://github.com/WICG/feature-policy/blob/master/reporting.md)

Tests are updated for the new behaviour.

Bug: 916233
Change-Id: Idc87e377123c618240ebf1186f7e68901d9fcbeb
Reviewed-on: https://chromium-review.googlesource.com/c/1378235
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618685}

--

wpt-commits: 82c3ea4fb290ae6e8d3aa671c888e3f224a59f89
wpt-pr: 14632
This commit is contained in:
Ian Clelland 2019-01-31 13:51:25 +00:00 committed by James Graham
parent 0ac52db5f2
commit 162299d2a3
14 changed files with 14 additions and 14 deletions

View File

@ -1 +1 @@
Feature-Policy: camera-report-only 'none'
Feature-Policy-Report-Only: camera 'none'

View File

@ -1 +1 @@
Feature-Policy: document-write-report-only 'none'
Feature-Policy-Report-Only: document-write 'none'

View File

@ -1 +1 @@
Feature-Policy: encrypted-media-report-only 'none'
Feature-Policy-Report-Only: encrypted-media 'none'

View File

@ -1 +1 @@
Feature-Policy: fullscreen-report-only 'none'
Feature-Policy-Report-Only: fullscreen 'none'

View File

@ -1 +1 @@
Feature-Policy: ambient-light-sensor-report-only 'none'; accelerometer-report-only 'none'; gyroscope-report-only 'none'; magnetometer-report-only 'none'
Feature-Policy-Report-Only: ambient-light-sensor 'none'; accelerometer 'none'; gyroscope 'none'; magnetometer 'none'

View File

@ -1 +1 @@
Feature-Policy: geolocation-report-only 'none'
Feature-Policy-Report-Only: geolocation 'none'

View File

@ -1 +1 @@
Feature-Policy: microphone-report-only 'none'
Feature-Policy-Report-Only: microphone 'none'

View File

@ -1 +1 @@
Feature-Policy: midi-report-only 'none'
Feature-Policy-Report-Only: midi 'none'

View File

@ -1 +1 @@
Feature-Policy: payment-report-only 'none'
Feature-Policy-Report-Only: payment 'none'

View File

@ -1 +1 @@
Feature-Policy: picture-in-picture-report-only 'none'
Feature-Policy-Report-Only: picture-in-picture 'none'

View File

@ -1 +1 @@
Feature-Policy: sync-xhr-report-only 'none'
Feature-Policy-Report-Only: sync-xhr 'none'

View File

@ -1 +1 @@
Feature-Policy: usb-report-only 'none'
Feature-Policy-Report-Only: usb 'none'

View File

@ -1 +1 @@
Feature-Policy: vr-report-only 'none'
Feature-Policy-Report-Only: vr 'none'

View File

@ -1 +1 @@
Feature-Policy: vr-report-only 'none'
Feature-Policy-Report-Only: vr 'none'