Skip to content

Commit

Permalink
Split COOP parsing WPT in subtests
Browse files Browse the repository at this point in the history
Firefox WPT runner complains about this WPT borderline timing out.
Splitting the test into subtests.

Bug: 1318373
Change-Id: I9ddbcba93749aec0f0c76abb7671cc18b60b40ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3683511
Commit-Queue: Arthur Hemery <[email protected]>
Reviewed-by: Arthur Sonzogni <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1009554}
  • Loading branch information
hemeryar authored and chromium-wpt-export-bot committed Jun 1, 2022
1 parent 53b704d commit c4bb9ef
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<!doctype html>
<meta charset=utf-8>
<meta name=timeout content=long>
<meta name="variant" content="?1-4">
<meta name="variant" content="?5-8">
<meta name="variant" content="?9-12">
<meta name="variant" content="?12-last">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src="/common/dispatcher/dispatcher.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="/common/subset-tests.js"></script>
<script src="/common/utils.js"></script>
<script src="resources/common.js"></script>
<script src="resources/popup-test.js"></script>
Expand Down Expand Up @@ -79,7 +84,7 @@
"coop": "*same-origin ",
}
].forEach(variant => {
popup_test(`Parsing ${variant.title}`, SAME_ORIGIN, variant.coop, "preserved");
subsetTest(popup_test, `Parsing ${variant.title}`, SAME_ORIGIN, variant.coop, "preserved");
});

</script>

0 comments on commit c4bb9ef

Please sign in to comment.