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. |
+ |