Skip to content

Commit 2875cba

Browse files
fetchlater feature (#2771)
* fetchlater feature * re-gen dist file * re-gen dist * Update features/fetchlater.yml Co-authored-by: Patrick Brosset <[email protected]> * Update features/fetchlater.yml --------- Co-authored-by: Florian Scholz <[email protected]>
1 parent 9b9a4f8 commit 2875cba

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

features/fetchlater.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: fetchLater
2+
description: "The `fetchLater()` method requests a deferred fetch sent at an unknown time. The browser chooses a reliable time to send the request, ideally when the document is unloaded, and ignores the response. This API is useful for sending beacons to a server without expecting a particular response."
3+
spec: https://github.com/whatwg/fetch/pull/1647
4+
compat_features:
5+
- api.FetchLaterResult
6+
- api.FetchLaterResult.activated
7+
- api.Window.fetchLater

features/fetchlater.yml.dist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Generated from: fetchlater.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "135"
8+
chrome_android: "135"
9+
compat_features:
10+
- api.FetchLaterResult
11+
- api.FetchLaterResult.activated
12+
- api.Window.fetchLater

scripts/specs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ const defaultAllowlist: allowlistItem[] = [
128128
[
129129
"https://www.w3.org/TR/2018/SPSD-html5-20180327/embedded-content-0.html#synchronising-multiple-media-elements",
130130
"Allowed for the mediacontroller feature. This is the superseded HTML5 spec that still contains MediaController."
131+
],
132+
[
133+
"https://github.com/whatwg/fetch/pull/1647",
134+
"This is where fetchLater() is in the process of being spec'd. Once the PR merges, change the spec url in fetchlater.yml, and remove this exception."
131135
]
132136
];
133137

0 commit comments

Comments
 (0)