Invert use of feature policy in Origin Policy WPT.
With an upcoming change to Feature/Permissions Policy, the header alone will no longer be sufficient to delegate permissions to use powerful features in subframes. The iframe allow attribute must be used in conjunction with it. The header can still be used to block delegation. This change updates the Origin Policy WPTs to use the header to block features, rather than to implicitly allow them, which as a test mechanism, will work both before and after the behaviour change. Bug: 1095641 Change-Id: I3e40480a23ebaea942df661b9a3ff233d108e495 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2425003Reviewed-by:Domenic Denicola <domenic@chromium.org> Commit-Queue: Ian Clelland <iclelland@chromium.org> Cr-Commit-Position: refs/heads/master@{#809801}
Showing
Please register or sign in to comment