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

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

Issue 19962008: Rewrite the 'window.onerror' tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: js-test-pre 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
(Empty)
1 window.onerror: "Uncaught Error: Error in isolated world inline script." at (11 , 18)
2 - Returning 'true': the error should not be reported in the console as an unhand led exception.
3 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin e script." at :11
4 PASS eventPassedToTheErrorListener is window.event
5 PASS eventCurrentTarget is window
6 - Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
7 window.onerror: "Uncaught Error: Error in main world inline script." at window-o nerror-isolatedworld-01.html (33, 18)
8 - Returning 'true': the error should not be reported in the console as an unhand led exception.
9 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc ript." at window-onerror-isolatedworld-01.html:33
10 PASS eventPassedToTheErrorListener is window.event
11 PASS eventCurrentTarget is window
12 - Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
13 window.onerror: "Uncaught Error: Error in isolated world load handler." at (8, 22)
14 - Returning 'true': the error should not be reported in the console as an unhand led exception.
15 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load handler." at :8
16 PASS eventPassedToTheErrorListener is window.event
17 PASS eventCurrentTarget is window
18 - Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
19 window.onerror: "Uncaught Error: Error in main world load handler." at window-on error-isolatedworld-01.html (30, 22)
20 - Returning 'true': the error should not be reported in the console as an unhand led exception.
21 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand ler." at window-onerror-isolatedworld-01.html:30
22 PASS eventPassedToTheErrorListener is window.event
23 PASS eventCurrentTarget is window
24 - Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
25 window.onerror: "Uncaught Error: Error in isolated world setTimeout callback." a t (6, 26)
26 - Returning 'true': the error should not be reported in the console as an unhand led exception.
27 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi meout callback." at :6
28 PASS eventPassedToTheErrorListener is window.event
29 PASS eventCurrentTarget is window
30 - Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
31 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi ndow-onerror-isolatedworld-01.html (28, 26)
32 - Returning 'true': the error should not be reported in the console as an unhand led exception.
33 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou t callback." at window-onerror-isolatedworld-01.html:28
34 PASS eventPassedToTheErrorListener is window.event
35 PASS eventCurrentTarget is window
36 - Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
37 PASS successfullyParsed is true
38
39 TEST COMPLETE
40 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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698