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

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: 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 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..fa1010f772364f6eeca64070ae8795cf086b6768
--- /dev/null
+++ b/LayoutTests/fast/events/window-onerror-10-expected.txt
@@ -0,0 +1,9 @@
+window.onerror: "Uncaught Error: Inline exception." at onerror-test.js (6, 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 (6, 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 (6, 40)
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This test should trigger 'window.onerror' multiple times, and successfully handle the errors.

Powered by Google App Engine
This is Rietveld 408576698