Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b9715ee

Browse files
Uzlopakgithub-actions[bot]
authored andcommittedFeb 12, 2025
chore: update WPT
1 parent c7f3d77 commit b9715ee

File tree

51 files changed

+1466
-204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1466
-204
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
importScripts('./dispatcher.js');
2+
3+
const params = new URLSearchParams(location.search);
4+
const uuid = params.get('uuid');
5+
const executor = new Executor(uuid); // `execute()` is called in constructor.

‎test/fixtures/wpt/fetch/fetch-later/iframe.tentative.https.window.js

-24
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ async function loadElement(el) {
1515
await loaded;
1616
}
1717

18-
// `host` may be cross-origin
19-
async function loadFetchLaterIframe(host, targetUrl) {
20-
const url = `${host}/fetch/fetch-later/resources/fetch-later.html?url=${
21-
encodeURIComponent(targetUrl)}`;
22-
const iframe = document.createElement('iframe');
23-
iframe.src = url;
24-
await loadElement(iframe);
25-
return iframe;
26-
}
27-
2818
parallelPromiseTest(async t => {
2919
const uuid = token();
3020
const url = generateSetBeaconURL(uuid);
@@ -39,17 +29,3 @@ parallelPromiseTest(async t => {
3929
// The iframe should have sent the request.
4030
await expectBeacon(uuid, {count: 1});
4131
}, 'A blank iframe can trigger fetchLater.');
42-
43-
parallelPromiseTest(async t => {
44-
const uuid = token();
45-
const url = generateSetBeaconURL(uuid);
46-
47-
// Loads a same-origin iframe that fires a fetchLater request.
48-
await loadFetchLaterIframe(HTTPS_ORIGIN, url);
49-
50-
// The iframe should have sent the request.
51-
await expectBeacon(uuid, {count: 1});
52-
}, 'A same-origin iframe can trigger fetchLater.');
53-
54-
// The test to load a cross-origin iframe that fires a fetchLater request is in
55-
// /fetch/fetch-later/permissions-policy/deferred-fetch-default-permissions-policy.tentative.https.window.js

0 commit comments

Comments
 (0)
Please sign in to comment.