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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x-expected.txt

Issue 674923004: Avoid srcset resource download when higher density resource is in cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed layout tests and added some. Created 6 years, 2 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/fast/dom/HTMLImageElement/image-sizes-2x-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x-expected.txt b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x-expected.txt
index daa30d0ef4bc5349c9345d8a7d1c7621c6636e92..263cb650448d6214ad19f7fe2ccd13f7d4ca1e6c 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x-expected.txt
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x-expected.txt
@@ -2,27 +2,27 @@ PASS successfullyParsed is true
TEST COMPLETE
PASS document.getElementById("simple").clientWidth is window.innerWidth
-PASS currentSrcFileName("simple") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("simple") is "image-set-2x.png"
PASS document.getElementById("small_sizes").clientWidth is 300
-PASS currentSrcFileName("small_sizes") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("small_sizes") is "image-set-2x.png"
PASS document.getElementById("sizes_x_descriptors").clientWidth is 400
-PASS currentSrcFileName("sizes_x_descriptors") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("sizes_x_descriptors") is "image-set-2x.png"
PASS document.getElementById("sizes_src").clientWidth is 400
-PASS currentSrcFileName("sizes_src") is "image-set-1x.png"
+PASS currentSrcFileNameNoParams("sizes_src") is "image-set-1x.png"
PASS document.getElementById("default_sizes").clientWidth is window.innerWidth
-PASS currentSrcFileName("default_sizes") is "image-set-4x.png"
+PASS currentSrcFileNameNoParams("default_sizes") is "image-set-4x.png"
PASS document.getElementById("invalid_length").clientWidth is window.innerWidth
-PASS currentSrcFileName("invalid_length") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("invalid_length") is "image-set-2x.png"
PASS document.getElementById("src_and_w").clientWidth is within 0.015625 of 700
-PASS currentSrcFileName("src_and_w") is "image-set-4x.png"
+PASS currentSrcFileNameNoParams("src_and_w") is "image-set-4x.png"
PASS document.getElementById("x_and_w").clientWidth is within 0.015625 of 700
-PASS currentSrcFileName("x_and_w") is "image-set-4x.png"
+PASS currentSrcFileNameNoParams("x_and_w") is "image-set-4x.png"
PASS document.getElementById("x_and_w2").clientWidth is 400
-PASS currentSrcFileName("x_and_w2") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("x_and_w2") is "image-set-2x.png"
PASS document.getElementById("x_and_w3").clientWidth is 400
-PASS currentSrcFileName("x_and_w3") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("x_and_w3") is "image-set-2x.png"
PASS document.getElementById("half_size").clientWidth is (window.innerWidth/2)
-PASS currentSrcFileName("half_size") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("half_size") is "image-set-2x.png"
PASS document.getElementById("infitisimal_sizes").clientWidth is (window.innerWidth/100)
-PASS currentSrcFileName("infitisimal_sizes") is "image-set-2x.png"
+PASS currentSrcFileNameNoParams("infitisimal_sizes") is "image-set-2x.png"

Powered by Google App Engine
This is Rietveld 408576698