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

Unified 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: Constructor. 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/window-onerror-isolatedworld-01-expected.txt
diff --git a/LayoutTests/fast/events/window-onerror-isolatedworld-01-expected.txt b/LayoutTests/fast/events/window-onerror-isolatedworld-01-expected.txt
index c2afd0dcd63efdbedaaf822b0059ec8d932ca820..0e7a70304e0e71646ca8ea15d4bf1d88e9f1ac00 100644
--- a/LayoutTests/fast/events/window-onerror-isolatedworld-01-expected.txt
+++ b/LayoutTests/fast/events/window-onerror-isolatedworld-01-expected.txt
@@ -4,41 +4,109 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
window.onerror: "Uncaught Error: Error in isolated world inline script." at (Line: 11, Column: 18)
+No stack trace.
Returning 'true': the error should not be reported in the console as an unhandled exception.
+
+
+
Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world inline script." at :11
+No stack trace.
PASS eventPassedToTheErrorListener is window.event
PASS eventCurrentTarget is window
Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
+
+
+
window.onerror: "Uncaught Error: Error in main world inline script." at window-onerror-isolatedworld-01.html (Line: 33, Column: 18)
+Stack Trace:
+Error: Error in main world inline script.
+ at exceptions window-onerror-isolatedworld-01.html:33:19
+ at window-onerror-isolatedworld-01.html:39:9
+
Returning 'true': the error should not be reported in the console as an unhandled exception.
+
+
+
Handling 'error' event (phase 2): "Uncaught Error: Error in main world inline script." at window-onerror-isolatedworld-01.html:33
+Stack Trace:
+Error: Error in main world inline script.
+ at exceptions window-onerror-isolatedworld-01.html:33:19
+ at window-onerror-isolatedworld-01.html:39:9
+
PASS eventPassedToTheErrorListener is window.event
PASS eventCurrentTarget is window
Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
+
+
+
window.onerror: "Uncaught Error: Error in isolated world load handler." at (Line: 8, Column: 22)
+No stack trace.
Returning 'true': the error should not be reported in the console as an unhandled exception.
+
+
+
Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world load handler." at :8
+No stack trace.
PASS eventPassedToTheErrorListener is window.event
PASS eventCurrentTarget is window
Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
+
+
+
window.onerror: "Uncaught Error: Error in main world load handler." at window-onerror-isolatedworld-01.html (Line: 30, Column: 22)
+Stack Trace:
+Error: Error in main world load handler.
+ at window-onerror-isolatedworld-01.html:30:23
+
Returning 'true': the error should not be reported in the console as an unhandled exception.
+
+
+
Handling 'error' event (phase 2): "Uncaught Error: Error in main world load handler." at window-onerror-isolatedworld-01.html:30
+Stack Trace:
+Error: Error in main world load handler.
+ at window-onerror-isolatedworld-01.html:30:23
+
PASS eventPassedToTheErrorListener is window.event
PASS eventCurrentTarget is window
Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
+
+
+
window.onerror: "Uncaught Error: Error in isolated world setTimeout callback." at (Line: 6, Column: 26)
+No stack trace.
Returning 'true': the error should not be reported in the console as an unhandled exception.
+
+
+
Handling 'error' event (phase 2): "Uncaught Error: Error in isolated world setTimeout callback." at :6
+No stack trace.
PASS eventPassedToTheErrorListener is window.event
PASS eventCurrentTarget is window
Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
+
+
+
window.onerror: "Uncaught Error: Error in main world setTimeout callback." at window-onerror-isolatedworld-01.html (Line: 28, Column: 26)
+Stack Trace:
+Error: Error in main world setTimeout callback.
+ at window-onerror-isolatedworld-01.html:28:27
+
Returning 'true': the error should not be reported in the console as an unhandled exception.
+
+
+
Handling 'error' event (phase 2): "Uncaught Error: Error in main world setTimeout callback." at window-onerror-isolatedworld-01.html:28
+Stack Trace:
+Error: Error in main world setTimeout callback.
+ at window-onerror-isolatedworld-01.html:28:27
+
PASS eventPassedToTheErrorListener is window.event
PASS eventCurrentTarget is window
Calling e.preventDefault(): the error should not be reported in the console as an unhandled exception.
+
+
+
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/events/window-onerror-12-expected.txt ('k') | LayoutTests/fast/events/window-onerror-isolatedworld-02.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698