Skip to content

Commit

Permalink
[ FeaturePolicy ] downloads-without-user-activation
Browse files Browse the repository at this point in the history
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

Bug: 812381
Change-Id: I234bb0486313ab350827315843db22525c2ceaac
  • Loading branch information
ehsan-karamad authored and chromium-wpt-export-bot committed Apr 4, 2019
1 parent f4d628c commit cce5dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feature-policy/feature-policy-for-sandbox/resources/helper.js
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 cce5dc9

Please sign in to comment.