From 8f49ecdf6b2ccf9f03e2976326e316c0391dda70 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Thu, 18 Dec 2025 00:41:37 +0000 Subject: [PATCH 1/3] Add Sec-CH-Width --- http/headers/Accept-CH.json | 32 +++++++++++++++++++++++++ http/headers/Sec-CH-Width.json | 43 ++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 http/headers/Sec-CH-Width.json diff --git a/http/headers/Accept-CH.json b/http/headers/Accept-CH.json index 55608e3981a5df..1f4ef76cdf54c1 100644 --- a/http/headers/Accept-CH.json +++ b/http/headers/Accept-CH.json @@ -492,6 +492,38 @@ } } }, + "Sec-CH-Width": { + "__compat": { + "description": "`Sec-CH-Width` token", + "spec_url": "https://wicg.github.io/responsive-image-client-hints/#sec-ch-width", + "support": { + "chrome": { + "version_added": "97" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "Viewport-Width": { "__compat": { "description": "`Viewport-Width` token", diff --git a/http/headers/Sec-CH-Width.json b/http/headers/Sec-CH-Width.json new file mode 100644 index 00000000000000..9707b5826253e7 --- /dev/null +++ b/http/headers/Sec-CH-Width.json @@ -0,0 +1,43 @@ +{ + "http": { + "headers": { + "Width": { + "__compat": { + "description": "`Sec-CH-Width` request header", + "support": { + "chrome": [ + { + "version_added": "97" + }, + { + "alternative_name": "Width", + "version_added": "46" + } + ], + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + } + } + } +} From 6985398d56f8e8c5f8f2b48ef51499c7a7577bbd Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Thu, 18 Dec 2025 00:52:52 +0000 Subject: [PATCH 2/3] Fix key --- http/headers/Sec-CH-Width.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/headers/Sec-CH-Width.json b/http/headers/Sec-CH-Width.json index 9707b5826253e7..e85b9d5ae4cd65 100644 --- a/http/headers/Sec-CH-Width.json +++ b/http/headers/Sec-CH-Width.json @@ -1,7 +1,7 @@ { "http": { "headers": { - "Width": { + "Sec-CH-Width": { "__compat": { "description": "`Sec-CH-Width` request header", "support": { From 919003ba91c699ed174bfae444d740ce16c6b6f7 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Thu, 18 Dec 2025 00:54:09 +0000 Subject: [PATCH 3/3] Add doc links --- http/headers/Sec-CH-Width.json | 1 + 1 file changed, 1 insertion(+) diff --git a/http/headers/Sec-CH-Width.json b/http/headers/Sec-CH-Width.json index e85b9d5ae4cd65..1caacb9a873f2f 100644 --- a/http/headers/Sec-CH-Width.json +++ b/http/headers/Sec-CH-Width.json @@ -4,6 +4,7 @@ "Sec-CH-Width": { "__compat": { "description": "`Sec-CH-Width` request header", + "spec_url": "https://wicg.github.io/responsive-image-client-hints/#sec-ch-width", "support": { "chrome": [ {