OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 <script> |
| 6 testRunner.waitUntilDone(); |
| 7 |
| 8 var givenLoadEventTargets = []; |
| 9 function handleError(event) |
| 10 { |
| 11 givenLoadEventTargets.push(event.target.id); |
| 12 if (givenLoadEventTargets.length == 3) { |
| 13 shouldBe("['invalid', 'notFound', 'notFoundShared']", "givenLoadEventTar
gets.sort()"); |
| 14 testRunner.notifyDone(); |
| 15 } |
| 16 } |
| 17 </script> |
| 18 <link id="notFound" rel="import" href="notfound.html" onerror="handleError(event
)"> |
| 19 <link id="notFoundShared" rel="import" href="notfound.html" onerror="handleError
(event)"> |
| 20 <link id="invalid" rel="import" href="" onerror="handleError(event)"> |
| 21 </head> |
| 22 <body></body> |
| 23 <script src="../../js/resources/js-test-post.js"></script> |
| 24 </html> |
OLD | NEW |