5 window
.isOnErrorTest
= true;
7 <script src=
"../../resources/js-test.js"></script>
8 <script src=
"resources/onerror-test.js"></script>
12 description("This test should trigger 'window.onerror', and successfully handle the error.");
13 dumpOnErrorArgumentValuesAndReturn(true);
15 var evt
= document
.createEvent("Event");
16 evt
.initEvent("error", true, true);
17 window
.dispatchEvent(evt
);