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