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

Unified Diff: LayoutTests/http/tests/misc/client-hints-accept.php

Issue 1186333004: Add support for `width` based Width Client Hint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed tests 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.php
diff --git a/LayoutTests/http/tests/misc/client-hints-accept.php b/LayoutTests/http/tests/misc/client-hints-accept.php
index df31db30f6db1b2393124f72e3bb07ffb7f25218..89a28731af16ecdc0092d0085290b8a4aaff1330 100644
--- a/LayoutTests/http/tests/misc/client-hints-accept.php
+++ b/LayoutTests/http/tests/misc/client-hints-accept.php
@@ -14,6 +14,7 @@
var loadRWImage = function() {
var img = new Image();
img.src = 'resources/image-checks-for-width.php';
+ img.width = '500';
Mike West 2015/06/18 06:20:03 Can you help me understand how this is testing the
Yoav Weiss 2015/06/18 06:30:21 With the new behavior, the `Width:` hint is not se
Mike West 2015/06/18 06:34:35 Got it, thank you.
img.onload = t.step_func(function(){ t.done(); });
img.onerror = t.step_func(unreached);
document.body.appendChild(img);

Powered by Google App Engine
This is Rietveld 408576698