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

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

Issue 1084323003: Auto-rebaseline for r193809 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 not inv oked for uncaught exceptions in scripts running in isolate worlds, but only for exceptions in the main world. 1 Test that window.onerror and "error" event listeners from main world are not inv oked for uncaught exceptions in scripts running in isolate worlds, but only for exceptions 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 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin e script." at :11 6 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inlin e script." at :11
7 No stack trace. 7 No stack trace.
8 PASS eventPassedToTheErrorListener is window.event 8 PASS eventPassedToTheErrorListener is window.event
9 PASS eventCurrentTarget is window 9 PASS eventCurrentTarget is window
10 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 10 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
11 11
12 12
13 13
14 window.onerror: "Uncaught Error: Error in main world inline script." at window-o nerror-isolatedworld-01.html (Line: 52, Column: 19) 14 window.onerror: "Uncaught Error: Error in main world inline script." at window-o nerror-isolatedworld-01.html (Line: 52, Column: 13)
15 Stack Trace: 15 Stack Trace:
16 Error: Error in main world inline script. 16 Error: Error in main world inline script.
17 at exceptions window-onerror-isolatedworld-01.html:52:19 17 at exceptions window-onerror-isolatedworld-01.html:52:19
18 at window-onerror-isolatedworld-01.html:58:9 18 at window-onerror-isolatedworld-01.html:58:9
19 19
20 Returning 'true': the error should not be reported in the console as an unhandle d exception. 20 Returning 'true': the error should not be reported in the console as an unhandle d exception.
21 21
22 22
23 23
24 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc ript." at window-onerror-isolatedworld-01.html:52 24 Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline sc ript." at window-onerror-isolatedworld-01.html:52
25 Stack Trace: 25 Stack Trace:
26 Error: Error in main world inline script. 26 Error: Error in main world inline script.
27 at exceptions window-onerror-isolatedworld-01.html:52:19 27 at exceptions window-onerror-isolatedworld-01.html:52:19
28 at window-onerror-isolatedworld-01.html:58:9 28 at window-onerror-isolatedworld-01.html:58:9
29 29
30 PASS eventPassedToTheErrorListener is window.event 30 PASS eventPassedToTheErrorListener is window.event
31 PASS eventCurrentTarget is window 31 PASS eventCurrentTarget is window
32 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 32 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
33 33
34 34
35 35
36 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load handler." at :8 36 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load handler." at :8
37 No stack trace. 37 No stack trace.
38 PASS eventPassedToTheErrorListener is window.event 38 PASS eventPassedToTheErrorListener is window.event
39 PASS eventCurrentTarget is window 39 PASS eventCurrentTarget is window
40 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 40 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
41 41
42 42
43 43
44 window.onerror: "Uncaught Error: Error in main world load handler." at window-on error-isolatedworld-01.html (Line: 49, Column: 23) 44 window.onerror: "Uncaught Error: Error in main world load handler." at window-on error-isolatedworld-01.html (Line: 49, Column: 17)
45 Stack Trace: 45 Stack Trace:
46 Error: Error in main world load handler. 46 Error: Error in main world load handler.
47 at window-onerror-isolatedworld-01.html:49:23 47 at window-onerror-isolatedworld-01.html:49:23
48 48
49 Returning 'true': the error should not be reported in the console as an unhandle d exception. 49 Returning 'true': the error should not be reported in the console as an unhandle d exception.
50 50
51 51
52 52
53 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand ler." at window-onerror-isolatedworld-01.html:49 53 Handling 'error' event (phase 2): "Uncaught Error: Error in main world load hand ler." at window-onerror-isolatedworld-01.html:49
54 Stack Trace: 54 Stack Trace:
55 Error: Error in main world load handler. 55 Error: Error in main world load handler.
56 at window-onerror-isolatedworld-01.html:49:23 56 at window-onerror-isolatedworld-01.html:49:23
57 57
58 PASS eventPassedToTheErrorListener is window.event 58 PASS eventPassedToTheErrorListener is window.event
59 PASS eventCurrentTarget is window 59 PASS eventCurrentTarget is window
60 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 60 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
61 61
62 62
63 63
64 FAIL Only main-world exceptions should be caught by ErrorEvent listeners. 64 FAIL Only main-world exceptions should be caught by ErrorEvent listeners.
65 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi meout callback." at :6 65 Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTi meout callback." at :6
66 No stack trace. 66 No stack trace.
67 PASS eventPassedToTheErrorListener is window.event 67 PASS eventPassedToTheErrorListener is window.event
68 PASS eventCurrentTarget is window 68 PASS eventCurrentTarget is window
69 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 69 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
70 70
71 71
72 72
73 FAIL Only main-world exceptions should be caught by ErrorEvent listeners. 73 FAIL Only main-world exceptions should be caught by ErrorEvent listeners.
74 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi ndow-onerror-isolatedworld-01.html (Line: 47, Column: 27) 74 window.onerror: "Uncaught Error: Error in main world setTimeout callback." at wi ndow-onerror-isolatedworld-01.html (Line: 47, Column: 21)
75 Stack Trace: 75 Stack Trace:
76 Error: Error in main world setTimeout callback. 76 Error: Error in main world setTimeout callback.
77 at window-onerror-isolatedworld-01.html:47:27 77 at window-onerror-isolatedworld-01.html:47:27
78 78
79 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.
80 80
81 81
82 82
83 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou t callback." at window-onerror-isolatedworld-01.html:47 83 Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeou t callback." at window-onerror-isolatedworld-01.html:47
84 Stack Trace: 84 Stack Trace:
85 Error: Error in main world setTimeout callback. 85 Error: Error in main world setTimeout callback.
86 at window-onerror-isolatedworld-01.html:47:27 86 at window-onerror-isolatedworld-01.html:47:27
87 87
88 PASS eventPassedToTheErrorListener is window.event 88 PASS eventPassedToTheErrorListener is window.event
89 PASS eventCurrentTarget is window 89 PASS eventCurrentTarget is window
90 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception. 90 Calling e.preventDefault(): the error should not be reported in the console as a n unhandled exception.
91 91
92 92
93 93
94 FAIL Only main-world exceptions should be caught by ErrorEvent listeners. 94 FAIL Only main-world exceptions should be caught by ErrorEvent listeners.
95 PASS successfullyParsed is true 95 PASS successfullyParsed is true
96 96
97 TEST COMPLETE 97 TEST COMPLETE
98 98
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698