Index: LayoutTests/http/tests/loading/preload-image-srcset-reverse-order-expected.txt |
diff --git a/LayoutTests/http/tests/loading/preload-image-srcset-reverse-order-expected.txt b/LayoutTests/http/tests/loading/preload-image-srcset-reverse-order-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d37c218661a1c1a509e980b6f5459d7ce41fdc54 |
--- /dev/null |
+++ b/LayoutTests/http/tests/loading/preload-image-srcset-reverse-order-expected.txt |
@@ -0,0 +1,16 @@ |
+main frame - didStartProvisionalLoadForFrame |
+main frame - didCommitLoadForFrame |
+main frame - didFinishDocumentLoadForFrame |
+main frame - didHandleOnloadEventsForFrame |
+main frame - didFinishLoadForFrame |
+main frame - didStartProvisionalLoadForFrame |
+main frame - didCommitLoadForFrame |
+main frame - didFinishDocumentLoadForFrame |
+main frame - didHandleOnloadEventsForFrame |
+main frame - didFinishLoadForFrame |
+PASS internals.isPreloaded('resources/image1.png'); is false |
+PASS internals.isPreloaded('resources/base-image1.png'); is true |
+PASS internals.isPreloaded('resources/image2.png'); is true |
+This test passes if the fallback image (defined in the src attribute) is not preloaded, but the 1x version (defined in srcset) is, even when srcset is defined first. |
+The second image is here to make sure isPreloaded is working properly |
+ |