2 <script src=
"/js-test-resources/js-test.js"></script>
5 document
.body
.innerHTML
+= '<img id="error" srcset="http://127.0.0.1:8000/resources/slow-image.php?name=not_there.png&mimeType=image/png&sleep=100">';
7 var img_err
= window
.document
.getElementById("error");
8 img_err
.onerror = function() {
9 shouldBe('img_err.currentSrc', '"http://127.0.0.1:8000/resources/slow-image.php?name=not_there.png&mimeType=image/png&sleep=100"');
12 window
.onload = function() {