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

Unified Diff: LayoutTests/http/tests/loading/dont-preload-non-img-srcset-expected.txt

Issue 23861003: Enable srcset support in HTMLImageElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed issues raised in review. Merged Romain Perier's new parser implementation. Created 7 years, 3 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/loading/dont-preload-non-img-srcset-expected.txt
diff --git a/LayoutTests/http/tests/loading/redirect-with-no-location-crash-expected.txt b/LayoutTests/http/tests/loading/dont-preload-non-img-srcset-expected.txt
similarity index 65%
copy from LayoutTests/http/tests/loading/redirect-with-no-location-crash-expected.txt
copy to LayoutTests/http/tests/loading/dont-preload-non-img-srcset-expected.txt
index d1c6439b7d71e1be7d33b110a2546bcb330e9576..56a65307e24cf641220c349ee8654e83734bf737 100644
--- a/LayoutTests/http/tests/loading/redirect-with-no-location-crash-expected.txt
+++ b/LayoutTests/http/tests/loading/dont-preload-non-img-srcset-expected.txt
@@ -1,12 +1,15 @@
main frame - didStartProvisionalLoadForFrame
main frame - didCommitLoadForFrame
-main frame - didReceiveTitle: Test for https://bugs.webkit.org/show_bug.cgi?id=29293
frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
-main frame - didFinishDocumentLoadForFrame
frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame
-main frame - didHandleOnloadEventsForFrame
frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame
+main frame - didFinishDocumentLoadForFrame
+main frame - didHandleOnloadEventsForFrame
main frame - didFinishLoadForFrame
-
+PASS internals.isPreloaded('resources/base-image1.png'); is true
+PASS internals.isPreloaded('resources/empty.html'); is false
+PASS internals.isPreloaded('resources/empty.js'); is false
+This test passes if the image is preloaded, but none of the non-img elements with a srcset attribute is.
+

Powered by Google App Engine
This is Rietveld 408576698