OLD | NEW |
(Empty) | |
| 1 Test that window.onerror and "error" event listeners from main world are invoked
for uncaught exceptions in scripts running in isolate worlds as well as for exc
eptions in the main world.Bug 8519. |
| 2 |
| 3 window.onerror: "Uncaught Error: Error in isolated world inline script." at (11
, 18) |
| 4 - Returning 'true': the error should not be reported in the console as an unhand
led exception. |
| 5 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin
e script." at :11 |
| 6 PASS: event passed to the listener is the same as 'window.event': true |
| 7 PASS: 'currentTarget' is the global object: true |
| 8 - Calling e.preventDefault(): the error should not be reported in the console as
an unhandled exception. |
| 9 window.onerror: "Uncaught Error: Error in main world inline script." at window-o
nerror-isolatedworld-01.html (32, 18) |
| 10 - Returning 'true': the error should not be reported in the console as an unhand
led exception. |
| 11 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc
ript." at window-onerror-isolatedworld-01.html:32 |
| 12 PASS: event passed to the listener is the same as 'window.event': true |
| 13 PASS: 'currentTarget' is the global object: true |
| 14 - Calling e.preventDefault(): the error should not be reported in the console as
an unhandled exception. |
| 15 window.onerror: "Uncaught Error: Error in isolated world load handler." at (8,
22) |
| 16 - Returning 'true': the error should not be reported in the console as an unhand
led exception. |
| 17 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load
handler." at :8 |
| 18 PASS: event passed to the listener is the same as 'window.event': true |
| 19 PASS: 'currentTarget' is the global object: true |
| 20 - Calling e.preventDefault(): the error should not be reported in the console as
an unhandled exception. |
| 21 window.onerror: "Uncaught Error: Error in main world load handler." at window-on
error-isolatedworld-01.html (29, 22) |
| 22 - Returning 'true': the error should not be reported in the console as an unhand
led exception. |
| 23 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand
ler." at window-onerror-isolatedworld-01.html:29 |
| 24 PASS: event passed to the listener is the same as 'window.event': true |
| 25 PASS: 'currentTarget' is the global object: true |
| 26 - Calling e.preventDefault(): the error should not be reported in the console as
an unhandled exception. |
| 27 window.onerror: "Uncaught Error: Error in isolated world setTimeout callback." a
t (6, 26) |
| 28 - Returning 'true': the error should not be reported in the console as an unhand
led exception. |
| 29 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi
meout callback." at :6 |
| 30 PASS: event passed to the listener is the same as 'window.event': true |
| 31 PASS: 'currentTarget' is the global object: true |
| 32 - Calling e.preventDefault(): the error should not be reported in the console as
an unhandled exception. |
| 33 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi
ndow-onerror-isolatedworld-01.html (27, 26) |
| 34 - Returning 'true': the error should not be reported in the console as an unhand
led exception. |
| 35 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou
t callback." at window-onerror-isolatedworld-01.html:27 |
| 36 PASS: event passed to the listener is the same as 'window.event': true |
| 37 PASS: 'currentTarget' is the global object: true |
| 38 - Calling e.preventDefault(): the error should not be reported in the console as
an unhandled exception. |
| 39 |
OLD | NEW |