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' only once, without diving into horrible recursion.");
14 function callback(errorNumber
) {
16 testFailed("window.onerror should only be called once in this test.");
17 throwException("Nested exception.");
20 dumpOnErrorArgumentValuesAndReturn(true, callback
);
22 throwException("Original exception.");