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

Unified Diff: LayoutTests/fast/events/window-onerror-10-expected.txt

Issue 19962008: Rewrite the 'window.onerror' tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests. 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-10-expected.txt
diff --git a/LayoutTests/fast/events/window-onerror-10-expected.txt b/LayoutTests/fast/events/window-onerror-10-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a49927a9b6f237b9b01ff3035f5dd1d16e7f8d10
--- /dev/null
+++ b/LayoutTests/fast/events/window-onerror-10-expected.txt
@@ -0,0 +1,8 @@
+This test should trigger 'window.onerror' multiple times, and successfully handle the errors.
+
+window.onerror: "Uncaught Error: Inline exception." at onerror-test.js (20, 40)
+- Returning 'true': the error should not be reported in the console as an unhandled exception.
+window.onerror: "Uncaught Error: exception in onload" at onerror-test.js (20, 40)
+- Returning 'true': the error should not be reported in the console as an unhandled exception.
+window.onerror: "Uncaught Error: exception in setTimeout" at onerror-test.js (20, 40)
+

Powered by Google App Engine
This is Rietveld 408576698