Skip to content

Commit 1893970

Browse files
Elchi3ddbeck
andauthored
Add a Beacon feature (#2361)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent 0dd8e16 commit 1893970

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

features/beacons.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: Beacons
2+
description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request with a limited amount of data, typically for app state, events, and analytics data. The one-way beacon is guaranteed to be initiated before the browser unloads the page, but the sender does not get to handle the response.
3+
spec: https://w3c.github.io/beacon/
4+
compat_features:
5+
- api.Navigator.sendBeacon

features/draft/spec/beacon.yml.dist renamed to features/beacons.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated from: beacon.yml
1+
# Generated from: beacons.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

44
status:

features/draft/spec/beacon.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)