diff --git a/client-hints/resources/sec-ch-ua.py b/client-hints/resources/sec-ch-ua.py
index 01bcb9682a1ae9d..ddeb582a19bc8e4 100644
--- a/client-hints/resources/sec-ch-ua.py
+++ b/client-hints/resources/sec-ch-ua.py
@@ -1,8 +1,6 @@
def main(request, response):
- ua = request.headers.get(b'sec-ch-ua', b'')
+ ua = request.headers.get(b'Sec-CH-UA', b'')
response.headers.set(b"Content-Type", b"text/html")
- response.headers.set(b"Accept-CH", b"UA")
- response.headers.set(b"Accept-CH-Lifetime", b"10")
response.content = b'''
diff --git a/ua-client-hints/useragentdata.https.any.js b/ua-client-hints/useragentdata.https.any.js
new file mode 100644
index 000000000000000..fc1e9e0b3c98907
--- /dev/null
+++ b/ua-client-hints/useragentdata.https.any.js
@@ -0,0 +1,7 @@
+// META: title=tests for navigator.userAgentData
+
+test(t => {
+ const brands = navigator.userAgentData.brands;
+ assert_true(brands.every(brand => brand.brand.length < 32),
+ "No brand should be longer than 32 characters.");
+});