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

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: *facepalm* 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 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
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 window.onerror: "Uncaught Error: Error in isolated world inline script." at (Li ne: 11, Column: 18)
7 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
9 PASS eventPassedToTheErrorListener is window.event
10 PASS eventCurrentTarget is window
11 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)
13 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
15 PASS eventPassedToTheErrorListener is window.event
16 PASS eventCurrentTarget is window
17 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)
19 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
21 PASS eventPassedToTheErrorListener is window.event
22 PASS eventCurrentTarget is window
23 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)
25 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
27 PASS eventPassedToTheErrorListener is window.event
28 PASS eventCurrentTarget is window
29 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)
31 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
33 PASS eventPassedToTheErrorListener is window.event
34 PASS eventCurrentTarget is window
35 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)
37 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
39 PASS eventPassedToTheErrorListener is window.event
40 PASS eventCurrentTarget is window
41 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
42 PASS successfullyParsed is true
43
44 TEST COMPLETE
45
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698