OLD | NEW |
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. | 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. |
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 window.onerror: "Uncaught Error: Error in isolated world inline script." at (Li
ne: 11, Column: 18) | 6 window.onerror: "Uncaught Error: Error in isolated world inline script." at (Li
ne: 11, Column: 18) |
| 7 No stack trace. |
7 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | 8 Returning 'true': the error should not be reported in the console as an unhandle
d exception. |
| 9 |
| 10 |
| 11 |
8 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin
e script." at :11 | 12 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin
e script." at :11 |
| 13 No stack trace. |
9 PASS eventPassedToTheErrorListener is window.event | 14 PASS eventPassedToTheErrorListener is window.event |
10 PASS eventCurrentTarget is window | 15 PASS eventCurrentTarget is window |
11 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 16 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
| 17 |
| 18 |
| 19 |
12 window.onerror: "Uncaught Error: Error in main world inline script." at window-o
nerror-isolatedworld-01.html (Line: 33, Column: 18) | 20 window.onerror: "Uncaught Error: Error in main world inline script." at window-o
nerror-isolatedworld-01.html (Line: 33, Column: 18) |
| 21 Stack Trace: |
| 22 Error: Error in main world inline script. |
| 23 at exceptions window-onerror-isolatedworld-01.html:33:19 |
| 24 at window-onerror-isolatedworld-01.html:39:9 |
| 25 |
13 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | 26 Returning 'true': the error should not be reported in the console as an unhandle
d exception. |
| 27 |
| 28 |
| 29 |
14 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc
ript." at window-onerror-isolatedworld-01.html:33 | 30 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc
ript." at window-onerror-isolatedworld-01.html:33 |
| 31 Stack Trace: |
| 32 Error: Error in main world inline script. |
| 33 at exceptions window-onerror-isolatedworld-01.html:33:19 |
| 34 at window-onerror-isolatedworld-01.html:39:9 |
| 35 |
15 PASS eventPassedToTheErrorListener is window.event | 36 PASS eventPassedToTheErrorListener is window.event |
16 PASS eventCurrentTarget is window | 37 PASS eventCurrentTarget is window |
17 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 38 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
| 39 |
| 40 |
| 41 |
18 window.onerror: "Uncaught Error: Error in isolated world load handler." at (Lin
e: 8, Column: 22) | 42 window.onerror: "Uncaught Error: Error in isolated world load handler." at (Lin
e: 8, Column: 22) |
| 43 No stack trace. |
19 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | 44 Returning 'true': the error should not be reported in the console as an unhandle
d exception. |
| 45 |
| 46 |
| 47 |
20 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load
handler." at :8 | 48 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load
handler." at :8 |
| 49 No stack trace. |
21 PASS eventPassedToTheErrorListener is window.event | 50 PASS eventPassedToTheErrorListener is window.event |
22 PASS eventCurrentTarget is window | 51 PASS eventCurrentTarget is window |
23 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 52 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
| 53 |
| 54 |
| 55 |
24 window.onerror: "Uncaught Error: Error in main world load handler." at window-on
error-isolatedworld-01.html (Line: 30, Column: 22) | 56 window.onerror: "Uncaught Error: Error in main world load handler." at window-on
error-isolatedworld-01.html (Line: 30, Column: 22) |
| 57 Stack Trace: |
| 58 Error: Error in main world load handler. |
| 59 at window-onerror-isolatedworld-01.html:30:23 |
| 60 |
25 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | 61 Returning 'true': the error should not be reported in the console as an unhandle
d exception. |
| 62 |
| 63 |
| 64 |
26 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand
ler." at window-onerror-isolatedworld-01.html:30 | 65 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand
ler." at window-onerror-isolatedworld-01.html:30 |
| 66 Stack Trace: |
| 67 Error: Error in main world load handler. |
| 68 at window-onerror-isolatedworld-01.html:30:23 |
| 69 |
27 PASS eventPassedToTheErrorListener is window.event | 70 PASS eventPassedToTheErrorListener is window.event |
28 PASS eventCurrentTarget is window | 71 PASS eventCurrentTarget is window |
29 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 72 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
| 73 |
| 74 |
| 75 |
30 window.onerror: "Uncaught Error: Error in isolated world setTimeout callback." a
t (Line: 6, Column: 26) | 76 window.onerror: "Uncaught Error: Error in isolated world setTimeout callback." a
t (Line: 6, Column: 26) |
| 77 No stack trace. |
31 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | 78 Returning 'true': the error should not be reported in the console as an unhandle
d exception. |
| 79 |
| 80 |
| 81 |
32 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi
meout callback." at :6 | 82 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi
meout callback." at :6 |
| 83 No stack trace. |
33 PASS eventPassedToTheErrorListener is window.event | 84 PASS eventPassedToTheErrorListener is window.event |
34 PASS eventCurrentTarget is window | 85 PASS eventCurrentTarget is window |
35 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 86 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
| 87 |
| 88 |
| 89 |
36 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi
ndow-onerror-isolatedworld-01.html (Line: 28, Column: 26) | 90 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi
ndow-onerror-isolatedworld-01.html (Line: 28, Column: 26) |
| 91 Stack Trace: |
| 92 Error: Error in main world setTimeout callback. |
| 93 at window-onerror-isolatedworld-01.html:28:27 |
| 94 |
37 Returning 'true': the error should not be reported in the console as an unhandle
d exception. | 95 Returning 'true': the error should not be reported in the console as an unhandle
d exception. |
| 96 |
| 97 |
| 98 |
38 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou
t callback." at window-onerror-isolatedworld-01.html:28 | 99 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou
t callback." at window-onerror-isolatedworld-01.html:28 |
| 100 Stack Trace: |
| 101 Error: Error in main world setTimeout callback. |
| 102 at window-onerror-isolatedworld-01.html:28:27 |
| 103 |
39 PASS eventPassedToTheErrorListener is window.event | 104 PASS eventPassedToTheErrorListener is window.event |
40 PASS eventCurrentTarget is window | 105 PASS eventCurrentTarget is window |
41 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. | 106 Calling e.preventDefault(): the error should not be reported in the console as a
n unhandled exception. |
| 107 |
| 108 |
| 109 |
42 PASS successfullyParsed is true | 110 PASS successfullyParsed is true |
43 | 111 |
44 TEST COMPLETE | 112 TEST COMPLETE |
45 | 113 |
OLD | NEW |