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

Unified Diff: LayoutTests/fast/events/window-onerror-08-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-08-expected.txt
diff --git a/LayoutTests/fast/events/window-onerror-08-expected.txt b/LayoutTests/fast/events/window-onerror-08-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c00b8e43126439f30816be375396d4fffc2aafdc
--- /dev/null
+++ b/LayoutTests/fast/events/window-onerror-08-expected.txt
@@ -0,0 +1,7 @@
+This tests that when 'window.onerror' handler is called, 'window.event' is the corresponding ErrorEvent object.
+
+window.event.type = error
+window.event.message = Uncaught Error: An exception
+window.event.filename = onerror-test.js
+window.event.lineno = 20
+

Powered by Google App Engine
This is Rietveld 408576698