Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit b2f76c8

Browse files
progersmoz-wptsync-bot
authored andcommitted
Bug 1898003 [wpt PR 46405] - Revert "Update enablement approach for sec-ch-width tests", a=testonly
Automatic update from web-platform-tests Revert "Update enablement approach for sec-ch-width tests" This reverts commit 0cc26e2b517e84e599540c2f13260726c7c6c159. Reason for revert: Spec was updated to use http-equiv after all: WICG/client-hints-infrastructure#159 Original change's description: > Update enablement approach for sec-ch-width tests > > There are some higher-level interop/spec issues with how to enable > sec-ch-width. This patch switches the tests to use name="Delegate-CH", > which is per-spec [1], as well as sending the Accept-CH header. > > [1] https://wicg.github.io/client-hints-infrastructure/#delegate-ch-algo > > Bug: 335630145 > Change-Id: Id37303bce2fb73c85505262cc5543e23701bd091 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5548997 > Commit-Queue: Philip Rogers <[email protected]> > Reviewed-by: Traian Captan <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1303438} Bug: 335630145 Change-Id: I890fc0dc9faa1d6fa8140ba56199c18fb687f36e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5555162 Auto-Submit: Philip Rogers <[email protected]> Commit-Queue: Traian Captan <[email protected]> Reviewed-by: Traian Captan <[email protected]> Cr-Commit-Position: refs/heads/main@{#1304037} -- wpt-commits: 9036de52d5ef50db887553fd4602955cb7ca269d wpt-pr: 46405
1 parent 263b62c commit b2f76c8

8 files changed

+4
-8
lines changed

testing/web-platform/tests/client-hints/sec-ch-width-auto-sizes-001.https.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<meta charset="utf-8">
3-
<meta name="Delegate-CH" content="Sec-CH-Width">
3+
<meta http-equiv="Delegate-CH" content="Sec-CH-Width">
44
<title>Tests Sec-CH-Width with auto sizes and a single srcset value</title>
55
<link rel="help" href="https://wicg.github.io/responsive-image-client-hints/#sec-ch-width">
66
<link rel="help" href="https://html.spec.whatwg.org/#sizes-attributes">

testing/web-platform/tests/client-hints/sec-ch-width-auto-sizes-001.https.html.headers

Lines changed: 0 additions & 1 deletion
This file was deleted.

testing/web-platform/tests/client-hints/sec-ch-width-auto-sizes-002.https.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<meta charset="utf-8">
3-
<meta name="Delegate-CH" content="Sec-CH-Width">
3+
<meta http-equiv="Delegate-CH" content="Sec-CH-Width">
44
<title>Tests Sec-CH-Width with auto sizes and multiple srcset values</title>
55
<link rel="help" href="https://wicg.github.io/responsive-image-client-hints/#sec-ch-width">
66
<link rel="help" href="https://html.spec.whatwg.org/#sizes-attributes">

testing/web-platform/tests/client-hints/sec-ch-width-auto-sizes-002.https.html.headers

Lines changed: 0 additions & 1 deletion
This file was deleted.

testing/web-platform/tests/client-hints/sec-ch-width-auto-sizes-003.https.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<meta charset="utf-8">
3-
<meta name="Delegate-CH" content="Sec-CH-Width">
3+
<meta http-equiv="Delegate-CH" content="Sec-CH-Width">
44
<title>Tests Sec-CH-Width with auto sizes and picture</title>
55
<link rel="help" href="https://wicg.github.io/responsive-image-client-hints/#sec-ch-width">
66
<link rel="help" href="https://html.spec.whatwg.org/#sizes-attributes">

testing/web-platform/tests/client-hints/sec-ch-width-auto-sizes-003.https.html.headers

Lines changed: 0 additions & 1 deletion
This file was deleted.

testing/web-platform/tests/client-hints/sec-ch-width.https.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<meta charset="utf-8">
3-
<meta name="Delegate-CH" content="Sec-CH-Width">
3+
<meta http-equiv="Delegate-CH" content="Sec-CH-Width">
44
<title>Tests Sec-CH-Width</title>
55
<link rel="help" href="https://wicg.github.io/responsive-image-client-hints/#sec-ch-width">
66
<script src="/resources/testharness.js"></script>

testing/web-platform/tests/client-hints/sec-ch-width.https.html.headers

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)