Commit fe5510cf authored by Yutaka Hirano's avatar Yutaka Hirano Committed by Commit Bot

Disable "HtmlImportsRequestInitiatorLock"

We see some breakage on M78, so we are disabling the feature. After
merging this change to M78 I will revert this change.

Bug: 1006292
Change-Id: Ie56d2ac5cdd6ed8ea0fdf8c124a3f01c24731eed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846832
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703615}
parent afda4100
...@@ -618,6 +618,9 @@ class CorsExploitBrowserTest : public ContentBrowserTest { ...@@ -618,6 +618,9 @@ class CorsExploitBrowserTest : public ContentBrowserTest {
// deprecated. // deprecated.
IN_PROC_BROWSER_TEST_F(CorsExploitBrowserTest, IN_PROC_BROWSER_TEST_F(CorsExploitBrowserTest,
OriginHeaderSpoofViaHtmlImports) { OriginHeaderSpoofViaHtmlImports) {
base::test::ScopedFeatureList feature_list;
feature_list.InitAndEnableFeature(
blink::features::kHtmlImportsRequestInitiatorLock);
std::string victim_path = "/victim/secret.json"; std::string victim_path = "/victim/secret.json";
net::test_server::ControllableHttpResponse victim_response( net::test_server::ControllableHttpResponse victim_response(
embedded_test_server(), victim_path, false); embedded_test_server(), victim_path, false);
......
...@@ -400,7 +400,7 @@ const base::Feature kLowerJavaScriptPriorityWhenForceDeferred{ ...@@ -400,7 +400,7 @@ const base::Feature kLowerJavaScriptPriorityWhenForceDeferred{
base::FEATURE_ENABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kHtmlImportsRequestInitiatorLock{ const base::Feature kHtmlImportsRequestInitiatorLock{
"HtmlImportsRequestInitiatorLock", base::FEATURE_ENABLED_BY_DEFAULT}; "HtmlImportsRequestInitiatorLock", base::FEATURE_DISABLED_BY_DEFAULT};
} // namespace features } // namespace features
} // namespace blink } // namespace blink
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