Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COOP+COEP: more flaky test measures #21274

Merged
merged 3 commits into from Jan 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion html/cross-origin-opener-policy/coep-navigate-popup.https.html
@@ -1,8 +1,12 @@
<!doctype html>
<title>Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy: a navigating popup</title>
<meta name=timeout content=long>
<meta name=variant content=?0-1>
<meta name=variant content=?2-3>
<meta name=variant content=?4-last>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src="/common/subset-tests.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="resources/common.js"></script>
<script>
Expand Down Expand Up @@ -43,7 +47,12 @@
"coep": "",
"opener": false
}
].forEach(variant => {
].forEach((variant, i) => {
// Only run specified variants
if (!shouldRunSubTest(i)) {
return;
}

["same-origin", "same-site"].forEach(site => {
const title = `Popup navigating to ${site} with ${variant.title}`;
const channel = title.replace(/ /g,"-");
Expand Down