Commit 482bce24 authored by Yutaka Hirano's avatar Yutaka Hirano Committed by Commit Bot

Enable kCrossOriginIsolation when running WPT and layout tests

Bug: 1035548
Change-Id: I07027d8a3363ec6b8b3f59b83ffa0e18d899eb5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1975477
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727356}
parent ae60acee
......@@ -6,6 +6,7 @@
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "services/network/public/cpp/features.h"
namespace content {
......@@ -24,6 +25,9 @@ GetSwitchDependentFeatureOverrides(const base::CommandLine& command_line) {
{switches::kEnableExperimentalWebPlatformFeatures,
std::cref(features::kCookieDeprecationMessages),
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
{switches::kEnableExperimentalWebPlatformFeatures,
std::cref(network::features::kCrossOriginIsolation),
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
};
// TODO(chlily): There are currently a few places where, to check if some
......
......@@ -3799,8 +3799,8 @@ crbug.com/964181 external/wpt/css/css-text/word-break/word-break-break-all-inlin
# Sheriff 2019-08-19:
crbug.com/626703 external/wpt/html/cross-origin-opener-policy/coop-sandbox.https.html [ Failure ]
crbug.com/626703 [ Debug ] external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure ]
crbug.com/626703 [ Debug ] virtual/cross-origin-isolation/external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Pass Failure ]
crbug.com/626703 [ Debug ] virtual/stable/external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure ]
crbug.com/626703 [ Debug ] external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Pass Failure ]
# Failure due to on-going off-thread paint worklet project.
crbug.com/957457 virtual/off-main-thread-css-paint/external/wpt/css/css-paint-api/invalid-image-pending-script.https.html [ Crash ]
......@@ -5932,9 +5932,9 @@ crbug.com/1010483 [ Win ] fast/selectors/specificity-overflow.html [ Crash Pass
# Sheriff 2019-10-11
crbug.com/1012599 external/wpt/fetch/cross-origin-resource-policy/fetch.https.any.sharedworker.html [ Pass Timeout ]
crbug.com/1013391 http/tests/devtools/a11y-axe-core/settings/shortcuts-a11y-test.js [ Pass Timeout ]
crbug.com/1013523 [ Release ] virtual/cross-origin-isolation/external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure Pass ]
crbug.com/1013523 [ Release Linux ] external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure Pass ]
crbug.com/1013523 [ Release Mac ] external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure Pass ]
crbug.com/1013523 [ Release ] external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure Pass ]
crbug.com/1013523 [ Release Linux ] virtual/stable/external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure Pass ]
crbug.com/1013523 [ Release Mac ] virtual/stable/external/wpt/html/cross-origin-embedder-policy/require-corp.https.html [ Failure Pass ]
crbug.com/1013779 virtual/scalefactor200/fast/hidpi/static/calendar-picker-appearance.html [ Failure Pass ]
crbug.com/1013779 [ Mac ] virtual/scalefactor200/fast/hidpi/static/data-suggestion-picker-appearance.html [ Failure Pass ]
crbug.com/1013779 virtual/scalefactor200/fast/hidpi/static/pointerevents/pointerevent_touch-adjustment_click_target.html [ Failure Pass ]
......@@ -6034,9 +6034,9 @@ crbug.com/1027287 css3/filters/effect-reference-image-lazy-attach.html [ Pass Fa
# Sheriff 2019-11-26
crbug.com/1028482 http/tests/devtools/sources/debugger/navigator-view.js [ Pass Crash ]
crbug.com/1028684 inspector-protocol/animation/animation-release.js [ Pass Failure ]
crbug.com/1015187 virtual/cross-origin-isolation/external/wpt/html/cross-origin-embedder-policy/none.https.html [ Pass Failure ]
crbug.com/1015187 [ Linux ] external/wpt/html/cross-origin-embedder-policy/none.https.html [ Pass Failure Timeout ]
crbug.com/1015187 [ Mac ] external/wpt/html/cross-origin-embedder-policy/none.https.html [ Pass Failure Timeout ]
crbug.com/1015187 external/wpt/html/cross-origin-embedder-policy/none.https.html [ Pass Failure ]
crbug.com/1015187 [ Linux ] virtual/stable/external/wpt/html/cross-origin-embedder-policy/none.https.html [ Pass Failure Timeout ]
crbug.com/1015187 [ Mac ] virtual/stable/external/wpt/html/cross-origin-embedder-policy/none.https.html [ Pass Failure Timeout ]
# Sheriff 2019-11-29
crbug.com/1019079 virtual/gpu/fast/canvas/OffscreenCanvas-placeholder-createImageBitmap.html [ Pass Failure ]
......
......@@ -84,7 +84,8 @@
},
{
"prefix": "stable",
"bases": ["fast/css3-text/css3-text-decoration/stable",
"bases": ["external/wpt/html/cross-origin-embedder-policy",
"fast/css3-text/css3-text-decoration/stable",
"fast/dom/Window",
"http/tests/streams/transferable/enabled",
"http/tests/navigation",
......@@ -618,11 +619,6 @@
"http/tests/media"],
"args": ["--enable-features=AudioServiceOutOfProcess,AudioServiceSandbox,WebRtcApmInAudioService"]
},
{
"prefix": "cross-origin-isolation",
"bases": ["external/wpt/html/cross-origin-embedder-policy"],
"args": ["--enable-features=CrossOriginIsolation"]
},
{
"prefix": "json-modules",
"bases": ["external/wpt/html/semantics/scripting-1/the-script-element/json-module"],
......
This is a testharness.js-based test.
FAIL SharedArrayBuffer cannot cross agent clusters, service worker edition promise_test: Unhandled rejection with value: object "SecurityError: Blocked a frame with origin "https://web-platform.test:8444" from accessing a cross-origin frame."
Harness: the test ran to completion.
# virtual/cross-origin-isolation
https://crbug.com/922191
https://crbug.com/887967
Cross-Origin-Opener-Policy (COOP)
Cross-Origin-Embedder-Policy (COEP)
This is a testharness.js-based test.
PASS Cross-Origin-Embedder-Policy and blob: URL from https://web-platform.test:8444 in subframe via subframe
PASS Cross-Origin-Embedder-Policy and blob: URL from https://web-platform.test:8444 in subframe via navigate
PASS Cross-Origin-Embedder-Policy and blob: URL from https://www1.web-platform.test:8444 in subframe via subframe
PASS Cross-Origin-Embedder-Policy and blob: URL from https://www1.web-platform.test:8444 in subframe via navigate
PASS Cross-Origin-Embedder-Policy and blob: URL from https://not-web-platform.test:8444 in subframe via subframe
PASS Cross-Origin-Embedder-Policy and blob: URL from https://not-web-platform.test:8444 in subframe via navigate
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Cross-Origin-Embedder-Policy and data: URLs
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS setting up
PASS making a same-origin request for CORP: same-origin
PASS making a same-origin request for no CORP
PASS making a same-origin request for CORP: cross-origin
PASS making a cross-origin request for CORP: same-origin
PASS making a cross-origin request for no CORP
PASS making a cross-origin request for CORP: cross-origin
PASS making a cross-origin request for CORP: same-origin [PASS THROUGH]
PASS making a cross-origin request for no CORP [PASS THROUGH]
PASS making a cross-origin request for CORP: cross-origin [PASS THROUGH]
PASS making a cross-origin request with CORS without ACAO
PASS making a cross-origin request with CORS
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Wait for the DOM to be built.
PASS about:blank can always be embedded by a 'require-corp' document
PASS A(B(C)) A=require-corp, B=about:blank, C=no-require-corp => C can't load
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Wait for the DOM to be built.
PASS about:srcdoc can always be embedded by a 'require-corp' document
PASS A(B(C)) A=require-corp, B=about:srcdoc, C=no-require-corp => C can't load
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS setting up
PASS making a same-origin request for CORP: same-origin
PASS making a same-origin request for no CORP
PASS making a same-origin request for CORP: cross-origin
PASS making a cross-origin request for CORP: same-origin
PASS making a cross-origin request for no CORP
PASS making a cross-origin request for CORP: cross-origin
PASS making a cross-origin request for CORP: same-origin [PASS THROUGH]
PASS making a cross-origin request for no CORP [PASS THROUGH]
PASS making a cross-origin request for CORP: cross-origin [PASS THROUGH]
PASS making a cross-origin request with CORS without ACAO
PASS making a cross-origin request with CORS
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS "require-corp" top-level: navigating a frame to "none" should fail
PASS "require-corp" top-level: navigating a frame from "require-corp" to "none" should fail
PASS "require-corp" top-level: creating a noopener "none" popup should succeed
PASS "require-corp" top-level: creating a "none" popup should succeed.
PASS "require-corp" top-level (as popup): navigating to "none" should succeed
PASS "require-corp" top-level (as noopener popup): navigating to "none" should succeed
PASS "require-corp" top-level (as popup with opener set to null): navigating to "none" should succeed
PASS "require-corp" top-level: fetch() to CORP: cross-origin response should succeed
PASS "require-corp" top-level: fetch() to response without CORP should fail
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Cross-Origin-Embedder-Policy and sandbox
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Cross-Origin-Embedder-Policy and srcdoc
Harness: the test ran to completion.
This directory exists in order to prevent accidental shipping of
Cross-Origin-Embedder-Policy (COEP).
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