4 <script src=
"../../resources/js-test.js"></script>
7 testRunner
.waitUntilDone();
11 var img
= document
.createElement('img');
12 img
.onload = function () {
16 img
.onerror = function () {
25 function finishTesting() {
26 if (window
.testRunner
)
27 setTimeout(function () { testRunner
.notifyDone(); }, 0);
32 <body onload='test();'
>
34 This test ensures that a normal image error doesn't crash if GC occurs
35 before the error event fires.