From 8458c9a774b48d25ef52229e040ddcad3c5d6e33 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 19 Nov 2024 12:20:43 +0100 Subject: [PATCH 1/6] add alerts, new window keys --- features/alerts.yml | 7 +++++++ features/alerts.yml.dist | 19 +++++++++++++++++++ features/window.yml | 4 ++++ features/window.yml.dist | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 features/alerts.yml create mode 100644 features/alerts.yml.dist diff --git a/features/alerts.yml b/features/alerts.yml new file mode 100644 index 00000000000..e4340fba2a4 --- /dev/null +++ b/features/alerts.yml @@ -0,0 +1,7 @@ +name: Alerts +description: "The `window.alert`, `window.confirm` and `window.prompt` APIs open modal dialogs for notifying the user, asking for confirmation, or entering text." +spec: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#user-prompts +compat_features: + - api.Window.alert + - api.Window.confirm + - api.Window.prompt diff --git a/features/alerts.yml.dist b/features/alerts.yml.dist new file mode 100644 index 00000000000..04c63a690be --- /dev/null +++ b/features/alerts.yml.dist @@ -0,0 +1,19 @@ +# Generated from: alerts.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - api.Window.alert + - api.Window.confirm + - api.Window.prompt diff --git a/features/window.yml b/features/window.yml index 1174fa6ba63..65b6c57818b 100644 --- a/features/window.yml +++ b/features/window.yml @@ -18,6 +18,10 @@ compat_features: - api.Window.load_event - api.Window.name - api.Window.open + - api.Window.open.features_parameter_attributionsrc + - api.Window.open.features_parameter_popup + - api.Window.open.once_per_event + - api.Window.open.relative-multi-screen - api.Window.opener - api.Window.parent - api.Window.self diff --git a/features/window.yml.dist b/features/window.yml.dist index 8fd0cc7924f..a85b550195a 100644 --- a/features/window.yml.dist +++ b/features/window.yml.dist @@ -127,3 +127,38 @@ compat_features: # firefox_android: "4" # safari: "1" - api.Window.open + + # baseline: false + # support: + # chrome: "23" + # chrome_android: "25" + # edge: "12" + # firefox: "65" + # firefox_android: "65" + # safari: "11" + - api.Window.open.once_per_event + + # baseline: false + # support: + # chrome: "98" + # chrome_android: "98" + # edge: "98" + # firefox: "96" + # firefox_android: "96" + - api.Window.open.features_parameter_popup + + # baseline: false + # support: + # chrome: "100" + # chrome_android: "100" + # edge: "100" + # firefox: "1" + # firefox_android: "4" + - api.Window.open.relative-multi-screen + + # baseline: false + # support: + # chrome: "117" + # chrome_android: "117" + # edge: "117" + - api.Window.open.features_parameter_attributionsrc From 1b9ecf6471de9df04f4af447d20fa4a4ec1a4284 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 19 Nov 2024 14:09:07 +0100 Subject: [PATCH 2/6] More permissions keys --- features/permissions.yml | 11 ++++++++++ features/permissions.yml.dist | 39 ++++++++++++++++++++++++++++++++--- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/features/permissions.yml b/features/permissions.yml index 6cd60e0e2dc..4b2e60a1dc9 100644 --- a/features/permissions.yml +++ b/features/permissions.yml @@ -3,3 +3,14 @@ description: The `navigator.permissions` API checks whether a permission, such a spec: https://w3c.github.io/permissions/ caniuse: permissions-api group: security +status: + compute_from: api.Permissions +compat_features: + - api.Navigator.permissions + - api.PermissionStatus + - api.PermissionStatus.change_event + - api.PermissionStatus.name + - api.PermissionStatus.state + - api.Permissions + - api.Permissions.query + - api.WorkerNavigator.permissions diff --git a/features/permissions.yml.dist b/features/permissions.yml.dist index 7c058001fdb..e928c2091a8 100644 --- a/features/permissions.yml.dist +++ b/features/permissions.yml.dist @@ -5,14 +5,15 @@ status: baseline: low baseline_low_date: 2022-09-12 support: - chrome: "44" - chrome_android: "44" + chrome: "43" + chrome_android: "43" edge: "79" firefox: "46" firefox_android: "46" safari: "16" safari_ios: "16" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2022-09-12 # support: @@ -28,7 +29,6 @@ compat_features: - api.Permissions - api.Permissions.query - # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2022-09-12 # support: @@ -40,3 +40,36 @@ compat_features: # safari: "16" # safari_ios: "16" - api.PermissionStatus.state + + # baseline: low + # baseline_low_date: 2022-09-12 + # support: + # chrome: "97" + # chrome_android: "97" + # edge: "97" + # firefox: "93" + # firefox_android: "93" + # safari: "16" + # safari_ios: "16" + - api.PermissionStatus.name + + # baseline: low + # baseline_low_date: 2023-03-27 + # support: + # chrome: "43" + # chrome_android: "43" + # edge: "79" + # firefox: "46" + # firefox_android: "46" + # safari: "16.4" + # safari_ios: "16.4" + - api.PermissionStatus.change_event + + # baseline: false + # support: + # chrome: "43" + # chrome_android: "43" + # edge: "79" + # safari: "16.4" + # safari_ios: "16.4" + - api.WorkerNavigator.permissions From 26455b1f29f908b6259e4daf2288372ce4b70750 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:14:33 -0500 Subject: [PATCH 3/6] Update features/alerts.yml Co-authored-by: Daniel D. Beck --- features/alerts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/alerts.yml b/features/alerts.yml index e4340fba2a4..a9ea4e994b9 100644 --- a/features/alerts.yml +++ b/features/alerts.yml @@ -1,5 +1,5 @@ name: Alerts -description: "The `window.alert`, `window.confirm` and `window.prompt` APIs open modal dialogs for notifying the user, asking for confirmation, or entering text." +description: "The `window.alert()`, `window.confirm()`, and `window.prompt()` methods open modal dialogs for notifying the user, asking for confirmation, or entering text." spec: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#user-prompts compat_features: - api.Window.alert From 291f02e0f0d546a3d90e055fee0fa4e828f99c13 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 19 Nov 2024 14:16:40 +0100 Subject: [PATCH 4/6] review fixes --- features/window-management.yml | 1 + features/window-management.yml.dist | 9 +++++++++ features/window.yml | 1 - features/window.yml.dist | 7 ------- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/features/window-management.yml b/features/window-management.yml index 5668983e4bc..106710f113d 100644 --- a/features/window-management.yml +++ b/features/window-management.yml @@ -21,4 +21,5 @@ compat_features: - api.ScreenDetails.screens - api.ScreenDetails.screenschange_event - api.Window.getScreenDetails + - api.Window.open.relative-multi-screen - http.headers.Permissions-Policy.window-management diff --git a/features/window-management.yml.dist b/features/window-management.yml.dist index 9c78b636309..a85e23bf873 100644 --- a/features/window-management.yml.dist +++ b/features/window-management.yml.dist @@ -7,6 +7,15 @@ status: chrome: "111" edge: "111" compat_features: + # baseline: false + # support: + # chrome: "100" + # chrome_android: "100" + # edge: "100" + # firefox: "1" + # firefox_android: "4" + - api.Window.open.relative-multi-screen + # baseline: false # support: # chrome: "100" diff --git a/features/window.yml b/features/window.yml index 65b6c57818b..3ee27e5706d 100644 --- a/features/window.yml +++ b/features/window.yml @@ -18,7 +18,6 @@ compat_features: - api.Window.load_event - api.Window.name - api.Window.open - - api.Window.open.features_parameter_attributionsrc - api.Window.open.features_parameter_popup - api.Window.open.once_per_event - api.Window.open.relative-multi-screen diff --git a/features/window.yml.dist b/features/window.yml.dist index a85b550195a..885ac786203 100644 --- a/features/window.yml.dist +++ b/features/window.yml.dist @@ -155,10 +155,3 @@ compat_features: # firefox: "1" # firefox_android: "4" - api.Window.open.relative-multi-screen - - # baseline: false - # support: - # chrome: "117" - # chrome_android: "117" - # edge: "117" - - api.Window.open.features_parameter_attributionsrc From d0981d90f52e5c3fceee8793e4d604dc89c9d0cc Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 19 Nov 2024 14:18:24 +0100 Subject: [PATCH 5/6] remove key --- features/window.yml | 1 - features/window.yml.dist | 9 --------- 2 files changed, 10 deletions(-) diff --git a/features/window.yml b/features/window.yml index 3ee27e5706d..773d0e08108 100644 --- a/features/window.yml +++ b/features/window.yml @@ -20,7 +20,6 @@ compat_features: - api.Window.open - api.Window.open.features_parameter_popup - api.Window.open.once_per_event - - api.Window.open.relative-multi-screen - api.Window.opener - api.Window.parent - api.Window.self diff --git a/features/window.yml.dist b/features/window.yml.dist index 885ac786203..b6e0e62fc67 100644 --- a/features/window.yml.dist +++ b/features/window.yml.dist @@ -146,12 +146,3 @@ compat_features: # firefox: "96" # firefox_android: "96" - api.Window.open.features_parameter_popup - - # baseline: false - # support: - # chrome: "100" - # chrome_android: "100" - # edge: "100" - # firefox: "1" - # firefox_android: "4" - - api.Window.open.relative-multi-screen From 977924d70ae52a5490d250941fb99ac48b55e22c Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 19 Nov 2024 18:32:07 +0100 Subject: [PATCH 6/6] Revert "More permissions keys" This reverts commit 1b9ecf6471de9df04f4af447d20fa4a4ec1a4284. --- features/permissions.yml | 11 ---------- features/permissions.yml.dist | 39 +++-------------------------------- 2 files changed, 3 insertions(+), 47 deletions(-) diff --git a/features/permissions.yml b/features/permissions.yml index 4b2e60a1dc9..6cd60e0e2dc 100644 --- a/features/permissions.yml +++ b/features/permissions.yml @@ -3,14 +3,3 @@ description: The `navigator.permissions` API checks whether a permission, such a spec: https://w3c.github.io/permissions/ caniuse: permissions-api group: security -status: - compute_from: api.Permissions -compat_features: - - api.Navigator.permissions - - api.PermissionStatus - - api.PermissionStatus.change_event - - api.PermissionStatus.name - - api.PermissionStatus.state - - api.Permissions - - api.Permissions.query - - api.WorkerNavigator.permissions diff --git a/features/permissions.yml.dist b/features/permissions.yml.dist index e928c2091a8..7c058001fdb 100644 --- a/features/permissions.yml.dist +++ b/features/permissions.yml.dist @@ -5,15 +5,14 @@ status: baseline: low baseline_low_date: 2022-09-12 support: - chrome: "43" - chrome_android: "43" + chrome: "44" + chrome_android: "44" edge: "79" firefox: "46" firefox_android: "46" safari: "16" safari_ios: "16" compat_features: - # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2022-09-12 # support: @@ -29,6 +28,7 @@ compat_features: - api.Permissions - api.Permissions.query + # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2022-09-12 # support: @@ -40,36 +40,3 @@ compat_features: # safari: "16" # safari_ios: "16" - api.PermissionStatus.state - - # baseline: low - # baseline_low_date: 2022-09-12 - # support: - # chrome: "97" - # chrome_android: "97" - # edge: "97" - # firefox: "93" - # firefox_android: "93" - # safari: "16" - # safari_ios: "16" - - api.PermissionStatus.name - - # baseline: low - # baseline_low_date: 2023-03-27 - # support: - # chrome: "43" - # chrome_android: "43" - # edge: "79" - # firefox: "46" - # firefox_android: "46" - # safari: "16.4" - # safari_ios: "16.4" - - api.PermissionStatus.change_event - - # baseline: false - # support: - # chrome: "43" - # chrome_android: "43" - # edge: "79" - # safari: "16.4" - # safari_ios: "16.4" - - api.WorkerNavigator.permissions