From 4a2090835741023a91fb405f9f85a8f7340eeac7 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Fri, 29 Nov 2024 14:10:55 +0100 Subject: [PATCH 1/5] Add a Beacon feature --- features/beacon.yml | 5 +++++ features/{draft/spec => }/beacon.yml.dist | 0 features/draft/spec/beacon.yml | 6 ------ 3 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 features/beacon.yml rename features/{draft/spec => }/beacon.yml.dist (100%) delete mode 100644 features/draft/spec/beacon.yml diff --git a/features/beacon.yml b/features/beacon.yml new file mode 100644 index 00000000000..be35d71d84f --- /dev/null +++ b/features/beacon.yml @@ -0,0 +1,5 @@ +name: Beacon +description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request containing a small amount of data to a web server. +spec: https://w3c.github.io/beacon/ +compat_features: + - api.Navigator.sendBeacon diff --git a/features/draft/spec/beacon.yml.dist b/features/beacon.yml.dist similarity index 100% rename from features/draft/spec/beacon.yml.dist rename to features/beacon.yml.dist diff --git a/features/draft/spec/beacon.yml b/features/draft/spec/beacon.yml deleted file mode 100644 index eb47e634c85..00000000000 --- a/features/draft/spec/beacon.yml +++ /dev/null @@ -1,6 +0,0 @@ -draft_date: 2024-09-09 -name: Beacon -description: TODO -spec: https://w3c.github.io/beacon/ -compat_features: - - api.Navigator.sendBeacon From 65a1837922c04885f49daa46366e7b32566b7974 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 2 Dec 2024 13:51:10 +0100 Subject: [PATCH 2/5] Update features/beacon.yml Co-authored-by: Daniel D. Beck --- features/beacon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/beacon.yml b/features/beacon.yml index be35d71d84f..3e96f071465 100644 --- a/features/beacon.yml +++ b/features/beacon.yml @@ -1,5 +1,5 @@ name: Beacon -description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request containing a small amount of data to a web server. +description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request with a limited amount of data, typically for application 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. spec: https://w3c.github.io/beacon/ compat_features: - api.Navigator.sendBeacon From 95790bb79ea5bb922f0abd0711579b77871cfed0 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 2 Dec 2024 13:51:14 +0100 Subject: [PATCH 3/5] Update features/beacon.yml Co-authored-by: Daniel D. Beck --- features/beacon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/beacon.yml b/features/beacon.yml index 3e96f071465..489f7fdbb36 100644 --- a/features/beacon.yml +++ b/features/beacon.yml @@ -1,4 +1,4 @@ -name: Beacon +name: Beacons description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request with a limited amount of data, typically for application 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. spec: https://w3c.github.io/beacon/ compat_features: From 62e3182e3ff6bb1e11a179b01eb66ce250a0b01a Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 2 Dec 2024 13:53:12 +0100 Subject: [PATCH 4/5] beacon -> beacons --- features/{beacon.yml => beacons.yml} | 0 features/{beacon.yml.dist => beacons.yml.dist} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename features/{beacon.yml => beacons.yml} (100%) rename features/{beacon.yml.dist => beacons.yml.dist} (92%) diff --git a/features/beacon.yml b/features/beacons.yml similarity index 100% rename from features/beacon.yml rename to features/beacons.yml diff --git a/features/beacon.yml.dist b/features/beacons.yml.dist similarity index 92% rename from features/beacon.yml.dist rename to features/beacons.yml.dist index 182121f623c..fa237f65855 100644 --- a/features/beacon.yml.dist +++ b/features/beacons.yml.dist @@ -1,4 +1,4 @@ -# Generated from: beacon.yml +# Generated from: beacons.yml # Do not edit this file by hand. Edit the source file instead! status: From 8dc17448efbc5ecfc68a178121c115ff2097b470 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 2 Dec 2024 13:55:14 +0100 Subject: [PATCH 5/5] get below 300 chars for the description --- features/beacons.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/beacons.yml b/features/beacons.yml index 489f7fdbb36..b51075fea45 100644 --- a/features/beacons.yml +++ b/features/beacons.yml @@ -1,5 +1,5 @@ name: Beacons -description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request with a limited amount of data, typically for application 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. +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. spec: https://w3c.github.io/beacon/ compat_features: - api.Navigator.sendBeacon