From 5b65fc031cf6e108b821f06a39ca69dea2914416 Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Thu, 23 Oct 2025 16:13:36 +0100 Subject: [PATCH 1/3] Add User-Agent reduction data points to relevant features --- api/Navigator.json | 108 +++++++++++++++++++++++++++++++++++ http/headers/User-Agent.json | 36 ++++++++++++ 2 files changed, 144 insertions(+) diff --git a/api/Navigator.json b/api/Navigator.json index 2846dcda25e303..600e2c48b875b0 100644 --- a/api/Navigator.json +++ b/api/Navigator.json @@ -324,6 +324,42 @@ "standard_track": true, "deprecated": false } + }, + "User-Agent_reduction": { + "__compat": { + "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "support": { + "chrome": { + "version_added": "110" + }, + "chrome_android": { + "version_added": "113" + }, + "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": { + "version_added": false + }, + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } }, "audioSession": { @@ -2970,6 +3006,42 @@ "standard_track": true, "deprecated": false } + }, + "User-Agent_reduction": { + "__compat": { + "description": "Provides limited/generic information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "support": { + "chrome": { + "version_added": "110" + }, + "chrome_android": { + "version_added": "113" + }, + "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": { + "version_added": false + }, + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } }, "plugins": { @@ -5487,6 +5559,42 @@ "standard_track": true, "deprecated": false } + }, + "User-Agent_reduction": { + "__compat": { + "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "support": { + "chrome": { + "version_added": "110" + }, + "chrome_android": { + "version_added": "113" + }, + "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": { + "version_added": false + }, + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } }, "userAgentData": { diff --git a/http/headers/User-Agent.json b/http/headers/User-Agent.json index d24f827d9f192a..53a0bcab3edf32 100644 --- a/http/headers/User-Agent.json +++ b/http/headers/User-Agent.json @@ -39,6 +39,42 @@ "standard_track": true, "deprecated": false } + }, + "User-Agent_reduction": { + "__compat": { + "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "support": { + "chrome": { + "version_added": "110" + }, + "chrome_android": { + "version_added": "113" + }, + "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": { + "version_added": false + }, + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } } } From 2f6fcf2406998d6f5b92de3138313612b421a8f7 Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Fri, 24 Oct 2025 08:47:49 +0100 Subject: [PATCH 2/3] Use more suitable spec_url --- api/Navigator.json | 6 +++--- http/headers/User-Agent.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/Navigator.json b/api/Navigator.json index 600e2c48b875b0..12732e3e127907 100644 --- a/api/Navigator.json +++ b/api/Navigator.json @@ -328,7 +328,7 @@ "User-Agent_reduction": { "__compat": { "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", - "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": { "version_added": "110" @@ -3010,7 +3010,7 @@ "User-Agent_reduction": { "__compat": { "description": "Provides limited/generic information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", - "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": { "version_added": "110" @@ -5563,7 +5563,7 @@ "User-Agent_reduction": { "__compat": { "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", - "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": { "version_added": "110" diff --git a/http/headers/User-Agent.json b/http/headers/User-Agent.json index 53a0bcab3edf32..661ee4a65d39ac 100644 --- a/http/headers/User-Agent.json +++ b/http/headers/User-Agent.json @@ -43,7 +43,7 @@ "User-Agent_reduction": { "__compat": { "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", - "spec_url": "https://wicg.github.io/ua-client-hints/#user-agent", + "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": { "version_added": "110" From d611bfe1ab9394074701db1797944152a8369d03 Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Wed, 29 Oct 2025 10:08:56 +0000 Subject: [PATCH 3/3] Update descriptions to class suggestion --- api/DOMMatrix.json | 3 +++ api/DOMMatrixReadOnly.json | 3 +++ api/DOMQuad.json | 2 ++ api/Navigator.json | 12 ++++++------ api/RTCEncodedAudioFrame.json | 1 + api/RTCEncodedVideoFrame.json | 1 + http/headers/User-Agent.json | 4 ++-- 7 files changed, 18 insertions(+), 8 deletions(-) diff --git a/api/DOMMatrix.json b/api/DOMMatrix.json index 06af1618d5e43b..cefcd60eca7121 100644 --- a/api/DOMMatrix.json +++ b/api/DOMMatrix.json @@ -511,6 +511,7 @@ "fromFloat32Array_static": { "__compat": { "description": "`fromFloat32Array()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-dommatrix-fromfloat32array", "tags": [ "web-features:dom-geometry" @@ -546,6 +547,7 @@ "fromFloat64Array_static": { "__compat": { "description": "`fromFloat64Array()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-dommatrix-fromfloat64array", "tags": [ "web-features:dom-geometry" @@ -581,6 +583,7 @@ "fromMatrix_static": { "__compat": { "description": "`fromMatrix()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-dommatrix-frommatrix", "tags": [ "web-features:dom-geometry" diff --git a/api/DOMMatrixReadOnly.json b/api/DOMMatrixReadOnly.json index 2dfbe1fda1a5af..f9467e534f912c 100644 --- a/api/DOMMatrixReadOnly.json +++ b/api/DOMMatrixReadOnly.json @@ -389,6 +389,7 @@ "fromFloat32Array_static": { "__compat": { "description": "`fromFloat32Array()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-fromfloat32array", "tags": [ "web-features:dom-geometry" @@ -424,6 +425,7 @@ "fromFloat64Array_static": { "__compat": { "description": "`fromFloat64Array()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-fromfloat64array", "tags": [ "web-features:dom-geometry" @@ -459,6 +461,7 @@ "fromMatrix_static": { "__compat": { "description": "`fromMatrix()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-frommatrix", "tags": [ "web-features:dom-geometry" diff --git a/api/DOMQuad.json b/api/DOMQuad.json index 8d32930d33be11..315009dc8bcf18 100644 --- a/api/DOMQuad.json +++ b/api/DOMQuad.json @@ -107,6 +107,7 @@ "fromQuad_static": { "__compat": { "description": "`fromQuad()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-domquad-fromquad", "tags": [ "web-features:dom-geometry" @@ -142,6 +143,7 @@ "fromRect_static": { "__compat": { "description": "`fromRect()` static method", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static", "spec_url": "https://drafts.fxtf.org/geometry/#dom-domquad-fromrect", "tags": [ "web-features:dom-geometry" diff --git a/api/Navigator.json b/api/Navigator.json index 12732e3e127907..8ebf5e1b5ee5f4 100644 --- a/api/Navigator.json +++ b/api/Navigator.json @@ -325,9 +325,9 @@ "deprecated": false } }, - "User-Agent_reduction": { + "applies_UA_reduction": { "__compat": { - "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "description": "Applies [User-agent reduction](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction).", "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": { @@ -3007,9 +3007,9 @@ "deprecated": false } }, - "User-Agent_reduction": { + "applies_UA_reduction": { "__compat": { - "description": "Provides limited/generic information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "description": "Applies [User-agent reduction](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction).", "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": { @@ -5560,9 +5560,9 @@ "deprecated": false } }, - "User-Agent_reduction": { + "applies_UA_reduction": { "__compat": { - "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "description": "Applies [User-agent reduction](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction).", "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": { diff --git a/api/RTCEncodedAudioFrame.json b/api/RTCEncodedAudioFrame.json index d86e9c97f90c7a..d6fec669a4fba3 100644 --- a/api/RTCEncodedAudioFrame.json +++ b/api/RTCEncodedAudioFrame.json @@ -37,6 +37,7 @@ "RTCEncodedAudioFrame": { "__compat": { "description": "`RTCEncodedAudioFrame()` constructor", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/RTCEncodedAudioFrame", "spec_url": "https://w3c.github.io/webrtc-encoded-transform/#dom-rtcencodedaudioframe-constructor", "tags": [ "web-features:webrtc-encoded-transform" diff --git a/api/RTCEncodedVideoFrame.json b/api/RTCEncodedVideoFrame.json index c4c01e02533cda..3055b373717b1f 100644 --- a/api/RTCEncodedVideoFrame.json +++ b/api/RTCEncodedVideoFrame.json @@ -37,6 +37,7 @@ "RTCEncodedVideoFrame": { "__compat": { "description": "`RTCEncodedVideoFrame()` constructor", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/RTCEncodedVideoFrame", "spec_url": "https://w3c.github.io/webrtc-encoded-transform/#dom-rtcencodedvideoframe-constructor", "tags": [ "web-features:webrtc-encoded-transform" diff --git a/http/headers/User-Agent.json b/http/headers/User-Agent.json index 661ee4a65d39ac..36fd795a5d6d93 100644 --- a/http/headers/User-Agent.json +++ b/http/headers/User-Agent.json @@ -40,9 +40,9 @@ "deprecated": false } }, - "User-Agent_reduction": { + "applies_UA_reduction": { "__compat": { - "description": "Provides limited information due to [User-agent](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction) reduction.", + "description": "Applies [User-agent reduction](https://developer.mozilla.org/docs/Web/HTTP/Guides/User-agent_reduction).", "spec_url": "https://compat.spec.whatwg.org/#ua-string-section", "support": { "chrome": {