From 19cee1b3169d43ba2d324adb9db27bb9b3ffa18c Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 26 Feb 2025 14:13:00 +0100 Subject: [PATCH 1/2] window.external API --- features/external.yml | 10 ++++++++++ features/external.yml.dist | 31 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 features/external.yml create mode 100644 features/external.yml.dist diff --git a/features/external.yml b/features/external.yml new file mode 100644 index 00000000000..b1788d06bab --- /dev/null +++ b/features/external.yml @@ -0,0 +1,10 @@ +name: window.external +description: The `window.external.AddSearchProvider()` and `window.external.IsSearchProviderInstalled()` methods use to add external search providers to the browser but now do nothing, per specification. +spec: https://html.spec.whatwg.org/multipage/obsolete.html#external +discouraged: + according_to: + - https://html.spec.whatwg.org/multipage/obsolete.html#external +compat_features: + - api.External + - api.External.AddSearchProvider + - api.External.IsSearchProviderInstalled diff --git a/features/external.yml.dist b/features/external.yml.dist new file mode 100644 index 00000000000..ba717d506ce --- /dev/null +++ b/features/external.yml.dist @@ -0,0 +1,31 @@ +# Generated from: external.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "9" + chrome_android: "18" + edge: "12" + firefox: "2" + firefox_android: "4" +compat_features: + # baseline: false + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "2" + # firefox_android: "4" + - api.External + - api.External.AddSearchProvider + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "9" + # chrome_android: "18" + # edge: "12" + # firefox: "2" + # firefox_android: "4" + - api.External.IsSearchProviderInstalled From c501cb6256a6be8524832163dcfa4268571f3ff4 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 26 Feb 2025 15:24:57 +0100 Subject: [PATCH 2/2] Update features/external.yml Co-authored-by: Daniel D. Beck --- features/external.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/external.yml b/features/external.yml index b1788d06bab..a31b05a4537 100644 --- a/features/external.yml +++ b/features/external.yml @@ -1,5 +1,5 @@ name: window.external -description: The `window.external.AddSearchProvider()` and `window.external.IsSearchProviderInstalled()` methods use to add external search providers to the browser but now do nothing, per specification. +description: The `window.external.AddSearchProvider()` and `window.external.IsSearchProviderInstalled()` do nothing. Historically, they added external search providers to the browser. spec: https://html.spec.whatwg.org/multipage/obsolete.html#external discouraged: according_to: