3 <script src=
"/js-test-resources/js-test.js"></script>
4 <script src=
"http://127.0.0.1:8000/resources/slow-script.pl?delay=100"></script>
8 shouldBeTrue("internals.isPreloaded('resources/base-image1.png');");
9 shouldBeTrue("internals.isPreloaded('resources/base-image2.png');");
10 shouldBeFalse("internals.isPreloaded('resources/base-image3.png');");
11 shouldBeFalse("internals.isPreloaded('data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==');");
13 <div>This test passes if the image (defined in the src attribute) is preloaded, except for data URI.
</div>
14 <img src=
"resources/base-image1.png">
15 <img src=
"resources/base-image2.png" src=
"resources/base-image3.png">
16 <img src=
"data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">