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

Unified Diff: LayoutTests/fast/events/window-onerror-12-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-12-expected.txt
diff --git a/LayoutTests/fast/events/window-onerror-12-expected.txt b/LayoutTests/fast/events/window-onerror-12-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15fb572ee4bda97b72f481a38693ffb4b04a6a6f
--- /dev/null
+++ b/LayoutTests/fast/events/window-onerror-12-expected.txt
@@ -0,0 +1,15 @@
+CONSOLE MESSAGE: line 14: 1
+CONSOLE MESSAGE: line 14: 2
+CONSOLE MESSAGE: line 14: 3
+window.onerror: "Uncaught TypeError: Cannot call method 'mu' of null" at window-onerror-12.html (9, 74)
+- Returning 'true': the error should not be reported in the console as an unhandled exception.
+window.onerror: "Uncaught TypeError: Cannot call method 'mu' of null" at window-onerror-12.html (32, 74)
+- Returning 'true': the error should not be reported in the console as an unhandled exception.
+window.onerror: "Uncaught TypeError: Cannot call method 'mu' of null" at window-onerror-12.html (32, 74)
+- Returning 'true': the error should not be reported in the console as an unhandled exception.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This test should trigger 'window.onerror' for the exception in the attribute handler, regardless of how it's set.
+
+Button. Button 2 Button 3

Powered by Google App Engine
This is Rietveld 408576698