Automatic update from web-platform-tests [fetch-later] Promote fetch-later wpt tests and fix some flakiness (#54738) - The [spec][1] has been merged. Remove all `.tentative` suffixes. - Update `third_party/blink/web_tests/external/wpt/fetch/fetch-later/resources/fetch-later.html` to account for some errors like QuotaExceededError that can't be cloned back to parent frame. - Fix `third_party/blink/web_tests/external/wpt/fetch/fetch-later/quota/same-origin-iframe/multiple-iframes.https.window.js` and remove its expectation. - `third_party/blink/web_tests/external/wpt/fetch/fetch-later/new-window.https.window.js` is still flaky. Will address it in another CL. [1]: https://github.com/whatwg/fetch/pull/1647 Bug: 434895695,434980772 Change-Id: Icb0d756ada01ec209a46eab7d055eb16c5b78a83 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6887785 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Ming-Ying Chung <mych@chromium.org> Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1512252} Co-authored-by: Ming-Ying Chung <mych@chromium.org> -- wpt-commits: 89966dffac4f95ade6d83c107fed3983251db1fc wpt-pr: 54738
25 lines
632 B
HTML
25 lines
632 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>FetchLater Referrer Header: Strict Origin Policy</title>
|
|
<meta name='referrer' content='strict-origin'>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/common/utils.js"></script>
|
|
<script src="/common/get-host-info.sub.js"></script>
|
|
<script src="/fetch/fetch-later/resources/header-referrer-helper.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
|
|
const {
|
|
HTTPS_ORIGIN
|
|
} = get_host_info();
|
|
|
|
testReferrerHeader(token(), HTTPS_ORIGIN, REFERRER_ORIGIN);
|
|
// Note: FetchLater cannot be used for non-secure URL.
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|