OLD | NEW |
| (Empty) |
1 This test should trigger 'window.onerror' multiple times, and successfully handl
e the errors. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 window.onerror: "Uncaught Error: Inline exception." at onerror-test.js (Line: 6,
Column: 5) | |
7 Stack Trace: | |
8 Error: Inline exception. | |
9 at throwException onerror-test.js:6:11 | |
10 at window-onerror-10.html:22:9 | |
11 | |
12 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | |
13 | |
14 | |
15 | |
16 window.onerror: "Uncaught Error: exception in onload" at onerror-test.js (Line:
6, Column: 5) | |
17 Stack Trace: | |
18 Error: exception in onload | |
19 at throwException onerror-test.js:6:11 | |
20 at onload window-onerror-10.html:11:205 | |
21 | |
22 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | |
23 | |
24 | |
25 | |
26 window.onerror: "Uncaught Error: exception in setTimeout" at onerror-test.js (Li
ne: 6, Column: 5) | |
27 Stack Trace: | |
28 Error: exception in setTimeout | |
29 at throwException onerror-test.js:6:11 | |
30 at eval window-onerror-10.html:11:155 | |
31 | |
32 PASS successfullyParsed is true | |
33 | |
34 TEST COMPLETE | |
35 | |
OLD | NEW |