Skip to content

Commit

Permalink
Bug 1550182 [wpt PR 16218] - [ FeaturePolicy ] downloads-without-user…
Browse files Browse the repository at this point in the history
…-activation, a=testonly

Automatic update from web-platform-tests
[ FeaturePolicy ] downloads-without-user-activation

The CL implements a new feature policy hidden behind the flag
FeaturePolicyForSandbox. The policy is the feature policy counterpart to
the sandbox flag 'allow-downloads-without-user-activation'. This policy
is used to help migrate sandbox flags implementation on top of feature
policies.

PA: w3c/webappsec-permissions-policy#289

TBR=alexmos@chromium.org

Bug: 812381
Change-Id: I234bb0486313ab350827315843db22525c2ceaac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538966
Reviewed-by: Ehsan Karamad <ekaramad@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Commit-Queue: Ehsan Karamad <ekaramad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#651773}

--

wpt-commits: 4b7972b30a143ea14a4b1fb017d69e048e920194
wpt-pr: 16218
  • Loading branch information
ehsan-karamad authored and jgraham committed Jun 5, 2019
1 parent cd389b0 commit 00d83d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const ignore_features_for_auxilary_context = ["popups", "scripts"];

// Feature-policies that represent specific sandbox flags.
const sandbox_features = [
"forms", "modals", "orientation-lock", "pointer-lock", "popups",
"presentation", "scripts", "top-navigation"];
"downloads-without-user-activation", "forms", "modals", "orientation-lock",
"pointer-lock", "popups", "presentation", "scripts", "top-navigation"];

// TODO(ekaramad): Figure out different inheritance requirements for different
// policies.
Expand Down

0 comments on commit 00d83d9

Please sign in to comment.