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

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: Fixed a flaky test 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/dont-preload-non-img-srcset-expected.txt b/LayoutTests/http/tests/loading/dont-preload-non-img-srcset-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d515a6266e0c7677183ee7f0f889cdf983297ed
--- /dev/null
+++ b/LayoutTests/http/tests/loading/dont-preload-non-img-srcset-expected.txt
@@ -0,0 +1,25 @@
+main frame - didStartProvisionalLoadForFrame
+main frame - didCommitLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame
+frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame
+main frame - didFinishDocumentLoadForFrame
+main frame - didHandleOnloadEventsForFrame
+main frame - didFinishLoadForFrame
+main frame - didStartProvisionalLoadForFrame
+main frame - didCommitLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
+frame "<!--framePath //<!--frame0-->-->" - 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.
+
« no previous file with comments | « LayoutTests/http/tests/loading/dont-preload-non-img-srcset.html ('k') | LayoutTests/http/tests/loading/preload-image-src.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698