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

Unified Diff: LayoutTests/fast/events/window-onerror-11-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-11-expected.txt
diff --git a/LayoutTests/fast/events/window-onerror-11-expected.txt b/LayoutTests/fast/events/window-onerror-11-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd06b6eaeb509d612f1960b04cee5e994f62c648
--- /dev/null
+++ b/LayoutTests/fast/events/window-onerror-11-expected.txt
@@ -0,0 +1,12 @@
+window.onerror: "Uncaught SyntaxError: Unexpected token %" at window-onerror-11.html (9, 77)
+- Returning 'true': the error should not be reported in the console as an unhandled exception.
+window.onerror: "Uncaught SyntaxError: Unexpected token %" at window-onerror-11.html (31, 77)
+- Returning 'true': the error should not be reported in the console as an unhandled exception.
+window.onerror: "Uncaught SyntaxError: Unexpected token %" at window-onerror-11.html (31, 77)
+- 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 syntax error in the attribute handler, regardless of how it's set.
+
+Button. Button 2 Button 3

Powered by Google App Engine
This is Rietveld 408576698