OLD | NEW |
1 Test that window.onerror and "error" event listeners from main world are not inv
oked for uncaught exceptions in scripts running in isolate worlds, but only for
exceptions in the main world. | 1 Test that window.onerror and "error" event listeners from main world are not inv
oked for uncaught exceptions in scripts running in isolate worlds, but only for
exceptions in the main world. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin
e script." at :11 | 6 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin
e script." at :11 |
7 No stack trace. | 7 No stack trace. |
8 PASS eventPassedToTheErrorListener is window.event | 8 PASS eventPassedToTheErrorListener is window.event |
9 PASS eventCurrentTarget is window | 9 PASS eventCurrentTarget is window |
10 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 10 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 PASS eventCurrentTarget is window | 89 PASS eventCurrentTarget is window |
90 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 90 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
91 | 91 |
92 | 92 |
93 | 93 |
94 FAIL Only main-world exceptions should be caught by ErrorEvent listeners. | 94 FAIL Only main-world exceptions should be caught by ErrorEvent listeners. |
95 PASS successfullyParsed is true | 95 PASS successfullyParsed is true |
96 | 96 |
97 TEST COMPLETE | 97 TEST COMPLETE |
98 | 98 |
OLD | NEW |