1 main frame - didStartProvisionalLoadForFrame
2 main frame - didCommitLoadForFrame
3 main frame - didFinishDocumentLoadForFrame
4 main frame - didHandleOnloadEventsForFrame
5 main frame - didFinishLoadForFrame
6 main frame - didStartProvisionalLoadForFrame
7 main frame - didCommitLoadForFrame
8 main frame - didFinishDocumentLoadForFrame
9 main frame - didHandleOnloadEventsForFrame
10 main frame - didFinishLoadForFrame
11 PASS internals.isPreloaded('resources/preload-test.jpg'); is false
12 PASS internals.isPreloaded('resources/preload-test-duplicate.jpg'); is false
13 PASS internals.isPreloaded('resources/base-image1.png'); is true
14 PASS internals.isPreloaded('resources/base-image2.png'); is false
15 PASS internals.isPreloaded('resources/base-image3.png'); is false
16 PASS internals.isPreloaded('resources/dup-image1.png'); is false
17 PASS internals.isPreloaded('resources/dup-image2.png'); is false
18 PASS internals.isPreloaded('resources/dup-image3.png'); is false
19 PASS internals.isPreloaded('resources/image2.png'); is true
20 PASS successfullyParsed is true
23 This test passes if the fallback image (defined in the src attribute) is not preloaded, the 1x version (defined in srcset) is, and none of the duplicate resources is preloaded.
24 The second image is here to make sure isPreloaded is working properly