Skip to content

Commit

Permalink
Bug 1916862 [wpt PR 47974] - Update FetchLaterAPI to not use "deferre…
Browse files Browse the repository at this point in the history
…d-fetch" for now, a=testonly

Automatic update from web-platform-tests
Update FetchLaterAPI to not use "deferred-fetch" for now

The [discussion][1] is not yet finalized, but we want to extend OT for
other partners.

[1]: WICG/pending-beacon#87 (comment)

Bug: 40276121
Change-Id: I6f163add73707be7b9c2b34d58dce22542621293
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5833346
Reviewed-by: Nidhi Jaju <[email protected]>
Commit-Queue: Ming-Ying Chung <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1351171}

--

wpt-commits: d575dc75ede770df322fbc5da3112dcf81f192ec
wpt-pr: 47974
  • Loading branch information
mingyc authored and moz-wptsync-bot committed Sep 10, 2024
1 parent 43933ea commit cd03958
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ async_test(t => {
'fetchLater()', t,
getDeferredFetchPolicyInIframeHelperUrl(
`${baseUrl}${HTTPS_NOTSAMESITE_ORIGIN}`),
expect_feature_unavailable_default, /*feature_name=*/ 'deferred-fetch');
}, `${description} disallows cross-origin navigation in an iframe.`);
expect_feature_available_default, /*feature_name=*/ 'deferred-fetch');
}, `${description} allows cross-origin navigation in an iframe.`);
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ async_test(t => {
test_feature_availability(
'fetchLater()', t,
getDeferredFetchPolicyInIframeHelperUrl(HTTPS_NOTSAMESITE_ORIGIN),
expect_feature_unavailable_default);
}, `${description} disallows fetchLater() in the cross-origin iframe.`);
expect_feature_available_default);
}, `${description} allows fetchLater() in the cross-origin iframe.`);

async_test(t => {
test_feature_availability(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ async_test(t => {
test_feature_availability(
'fetchLater()', t,
getDeferredFetchPolicyInIframeHelperUrl(HTTPS_NOTSAMESITE_ORIGIN),
expect_feature_unavailable_default);
}, `${description} disallows fetchLater() in the cross-origin iframe.`);
expect_feature_available_default);
}, `${description} allows fetchLater() in the cross-origin iframe.`);

This file was deleted.

This file was deleted.

0 comments on commit cd03958

Please sign in to comment.