Commit 4ba80e19 authored by Lucas Furukawa Gadani's avatar Lucas Furukawa Gadani Committed by Commit Bot

CSP: Enable out of blink enforcement of frame-ancestors.

Bug: 1032139
Change-Id: Iac59a5e6c8452da0cf7e7ebc549a10d8970cc8c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988684Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Lucas Gadani <lfg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#729823}
parent b8825d1d
......@@ -160,8 +160,8 @@ const base::Feature kDisableKeepaliveFetch{"DisableKeepaliveFetch",
// When kOutOfBlinkFrameAncestors is enabled, the frame-ancestors
// directive is parsed from the Content-Security-Policy header in the network
// service and enforced in the browser.
const base::Feature kOutOfBlinkFrameAncestors{
"OutOfBlinkFrameAncestors", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kOutOfBlinkFrameAncestors{"OutOfBlinkFrameAncestors",
base::FEATURE_ENABLED_BY_DEFAULT};
bool ShouldEnableOutOfBlinkCorsForTesting() {
return base::FeatureList::IsEnabled(features::kOutOfBlinkCors);
......
......@@ -643,9 +643,9 @@
"args": ["--enable-blink-features=CSSModules"]
},
{
"prefix": "out-of-blink-frame-ancestors",
"prefix": "out-of-blink-frame-ancestors-disabled",
"bases": ["external/wpt/content-security-policy/frame-ancestors", "external/wpt/portals/csp"],
"args": ["--enable-features=OutOfBlinkFrameAncestors"]
"args": ["--disable-features=OutOfBlinkFrameAncestors"]
},
{
"prefix": "import-maps-disabled",
......
This directory is for testing out-of-blink frame-ancestors CSP enforcement.
This directory is for testing out-of-blink frame-ancestors CSP enforcement
disabled.
This test suite runs the tests with --enable-features=OutOfBlinkFrameAncestors.
This test suite runs the tests with --disable-features=OutOfBlinkFrameAncestors.
- https://crbug.com/759184
This is a testharness.js-based test.
PASS Violation report status OK.
Harness: the test ran to completion.
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