Commit 53e97bc2 authored by Domenic Denicola's avatar Domenic Denicola Committed by Commit Bot

Origin policy: add runtime enabled feature

https://crbug.com/1057123 will require a runtime enabled feature for use
in the IDL file, in addition to our existing content feature. This adds
that feature and ties it to the content feature.

Bug: 1057123
Change-Id: Ia9db2570a60814525304e8a5965fb5e46b5b8084
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2087954Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747288}
parent 09404a7e
...@@ -355,6 +355,7 @@ void SetRuntimeFeaturesFromChromiumFeatures() { ...@@ -355,6 +355,7 @@ void SetRuntimeFeaturesFromChromiumFeatures() {
{"LayoutNG", blink::features::kLayoutNG, kUseFeatureState}, {"LayoutNG", blink::features::kLayoutNG, kUseFeatureState},
{"LegacyWindowsDWriteFontFallback", {"LegacyWindowsDWriteFontFallback",
features::kLegacyWindowsDWriteFontFallback, kUseFeatureState}, features::kLegacyWindowsDWriteFontFallback, kUseFeatureState},
{"OriginPolicy", features::kOriginPolicy, kUseFeatureState},
{"ShadowDOMV0", blink::features::kWebComponentsV0Enabled, {"ShadowDOMV0", blink::features::kWebComponentsV0Enabled,
kEnableOnly}, kEnableOnly},
{"StorageAccessAPI", blink::features::kStorageAccessAPI, kEnableOnly}, {"StorageAccessAPI", blink::features::kStorageAccessAPI, kEnableOnly},
......
...@@ -1184,6 +1184,10 @@ ...@@ -1184,6 +1184,10 @@
name: "OrientationEvent", name: "OrientationEvent",
status: {"Android": "stable"}, status: {"Android": "stable"},
}, },
{
name: "OriginPolicy",
status: "experimental",
},
// Define a sample API for testing integration with the Origin Trials // Define a sample API for testing integration with the Origin Trials
// Framework. The sample API is used in both unit and web tests for the // Framework. The sample API is used in both unit and web tests for the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment