Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: LayoutTests/http/tests/misc/client-hints-accept-meta-preloader.html

Issue 1186333004: Add support for `width` based Width Client Hint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moar comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/misc/client-hints-accept-meta-preloader.html
diff --git a/LayoutTests/http/tests/misc/client-hints-accept-meta-preloader.html b/LayoutTests/http/tests/misc/client-hints-accept-meta-preloader.html
index b443de26bdd50e4e643f70f32ac7408c6f2a8b7b..2b93d612e9a9257736d4020eb7c0a07beed00b6d 100644
--- a/LayoutTests/http/tests/misc/client-hints-accept-meta-preloader.html
+++ b/LayoutTests/http/tests/misc/client-hints-accept-meta-preloader.html
@@ -17,10 +17,10 @@
}
</script>
<script src="../resources/slow-script.pl?sleep=300"></script>
-<meta http-equiv="Accept-CH" content="DPR, Width">
+<meta http-equiv="Accept-CH" content="DPR, Viewport-Width">
This test checks that a meta based Accept-CH is properly parsed by the HTMLPreloadScanner.
<div id=result></div>
-<img src='resources/image-checks-for-width.php'
+<img src='resources/image-checks-for-viewport-width.php'
onload="checkIfPassed(this.clientWidth, 128);"
onerror="failed();">
« no previous file with comments | « LayoutTests/http/tests/misc/client-hints-accept-meta.html ('k') | LayoutTests/http/tests/misc/client-hints-rw-width.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698