Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: LayoutTests/fast/events/window-onerror-isolatedworld-01-expected.txt

Issue 20351002: Add 'error' parameter to 'window.onerror' handlers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 Error: Error in isolated world inline script.
8 at :11:19
9 at :12:11
10 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:37:24
11
12 Error: Error in isolated world inline script.
13 at :11:19
14 at :12:11
15 at window-onerror-isolatedworld-01.html:37:24
16
7 Returning 'true': the error should not be reported in the console as an unhandle d exception. 17 Returning 'true': the error should not be reported in the console as an unhandle d exception.
8 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin e script." at :11 18 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin e script." at :11
19 Error: Error in isolated world inline script.
20 at :11:19
21 at :12:11
22 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:37:24
23
24 Error: Error in isolated world inline script.
25 at :11:19
26 at :12:11
27 at window-onerror-isolatedworld-01.html:37:24
28
9 PASS eventPassedToTheErrorListener is window.event 29 PASS eventPassedToTheErrorListener is window.event
10 PASS eventCurrentTarget is window 30 PASS eventCurrentTarget is window
11 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 31 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
12 window.onerror: "Uncaught Error: Error in main world inline script." at window-o nerror-isolatedworld-01.html (Line: 33, Column: 18) 32 window.onerror: "Uncaught Error: Error in main world inline script." at window-o nerror-isolatedworld-01.html (Line: 33, Column: 18)
33 Error: Error in main world inline script.
34 at exceptions (file:///Volumes/Repositories/blink/src/third_party/WebKit/Lay outTests/fast/events/window-onerror-isolatedworld-01.html:33:19)
35 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:39:9
36
37 Error: Error in main world inline script.
38 at exceptions window-onerror-isolatedworld-01.html:33:19
39 at window-onerror-isolatedworld-01.html:39:9
40
13 Returning 'true': the error should not be reported in the console as an unhandle d exception. 41 Returning 'true': the error should not be reported in the console as an unhandle d exception.
14 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc ript." at window-onerror-isolatedworld-01.html:33 42 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc ript." at window-onerror-isolatedworld-01.html:33
43 Error: Error in main world inline script.
44 at exceptions (file:///Volumes/Repositories/blink/src/third_party/WebKit/Lay outTests/fast/events/window-onerror-isolatedworld-01.html:33:19)
45 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:39:9
46
47 Error: Error in main world inline script.
48 at exceptions window-onerror-isolatedworld-01.html:33:19
49 at window-onerror-isolatedworld-01.html:39:9
50
15 PASS eventPassedToTheErrorListener is window.event 51 PASS eventPassedToTheErrorListener is window.event
16 PASS eventCurrentTarget is window 52 PASS eventCurrentTarget is window
17 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 53 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
18 window.onerror: "Uncaught Error: Error in isolated world load handler." at (Lin e: 8, Column: 22) 54 window.onerror: "Uncaught Error: Error in isolated world load handler." at (Lin e: 8, Column: 22)
55 Error: Error in isolated world load handler.
56 at :8:23
57
58 Error: Error in isolated world load handler.
59 at :8:23
60
19 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.
20 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load handler." at :8 62 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load handler." at :8
63 Error: Error in isolated world load handler.
64 at :8:23
65
66 Error: Error in isolated world load handler.
67 at :8:23
68
21 PASS eventPassedToTheErrorListener is window.event 69 PASS eventPassedToTheErrorListener is window.event
22 PASS eventCurrentTarget is window 70 PASS eventCurrentTarget is window
23 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 71 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
24 window.onerror: "Uncaught Error: Error in main world load handler." at window-on error-isolatedworld-01.html (Line: 30, Column: 22) 72 window.onerror: "Uncaught Error: Error in main world load handler." at window-on error-isolatedworld-01.html (Line: 30, Column: 22)
73 Error: Error in main world load handler.
74 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:30:23
75
76 Error: Error in main world load handler.
77 at window-onerror-isolatedworld-01.html:30:23
78
25 Returning 'true': the error should not be reported in the console as an unhandle d exception. 79 Returning 'true': the error should not be reported in the console as an unhandle d exception.
26 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand ler." at window-onerror-isolatedworld-01.html:30 80 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand ler." at window-onerror-isolatedworld-01.html:30
81 Error: Error in main world load handler.
82 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:30:23
83
84 Error: Error in main world load handler.
85 at window-onerror-isolatedworld-01.html:30:23
86
27 PASS eventPassedToTheErrorListener is window.event 87 PASS eventPassedToTheErrorListener is window.event
28 PASS eventCurrentTarget is window 88 PASS eventCurrentTarget is window
29 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 89 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
30 window.onerror: "Uncaught Error: Error in isolated world setTimeout callback." a t (Line: 6, Column: 26) 90 window.onerror: "Uncaught Error: Error in isolated world setTimeout callback." a t (Line: 6, Column: 26)
91 Error: Error in isolated world setTimeout callback.
92 at :6:27
93
94 Error: Error in isolated world setTimeout callback.
95 at :6:27
96
31 Returning 'true': the error should not be reported in the console as an unhandle d exception. 97 Returning 'true': the error should not be reported in the console as an unhandle d exception.
32 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi meout callback." at :6 98 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi meout callback." at :6
99 Error: Error in isolated world setTimeout callback.
100 at :6:27
101
102 Error: Error in isolated world setTimeout callback.
103 at :6:27
104
33 PASS eventPassedToTheErrorListener is window.event 105 PASS eventPassedToTheErrorListener is window.event
34 PASS eventCurrentTarget is window 106 PASS eventCurrentTarget is window
35 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 107 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
36 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi ndow-onerror-isolatedworld-01.html (Line: 28, Column: 26) 108 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi ndow-onerror-isolatedworld-01.html (Line: 28, Column: 26)
109 Error: Error in main world setTimeout callback.
110 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:28:27
111
112 Error: Error in main world setTimeout callback.
113 at window-onerror-isolatedworld-01.html:28:27
114
37 Returning 'true': the error should not be reported in the console as an unhandle d exception. 115 Returning 'true': the error should not be reported in the console as an unhandle d exception.
38 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou t callback." at window-onerror-isolatedworld-01.html:28 116 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou t callback." at window-onerror-isolatedworld-01.html:28
117 Error: Error in main world setTimeout callback.
118 at file:///Volumes/Repositories/blink/src/third_party/WebKit/LayoutTests/fas t/events/window-onerror-isolatedworld-01.html:28:27
119
120 Error: Error in main world setTimeout callback.
121 at window-onerror-isolatedworld-01.html:28:27
122
39 PASS eventPassedToTheErrorListener is window.event 123 PASS eventPassedToTheErrorListener is window.event
40 PASS eventCurrentTarget is window 124 PASS eventCurrentTarget is window
41 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 125 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
42 PASS successfullyParsed is true 126 PASS successfullyParsed is true
43 127
44 TEST COMPLETE 128 TEST COMPLETE
45 129
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698