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

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: 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-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..b8d00456cd968a1c83f19a9568ea277c37a6f992
--- /dev/null
+++ b/LayoutTests/fast/events/window-onerror-08-expected.txt
@@ -0,0 +1,9 @@
+PASS window.event.type is "error"
+PASS errorMessage is window.event.message
+PASS stripURL(errorURL) is stripURL(window.event.filename)
+PASS errorLine is window.event.lineno
+PASS window.event.column is undefined.
+FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
do-not-use 2013/07/24 13:18:01 FAIL?
Mike West 2013/07/24 15:28:32 Done.
+
+TEST COMPLETE
+This tests that when 'window.onerror' handler is called, 'window.event' is the corresponding ErrorEvent object.

Powered by Google App Engine
This is Rietveld 408576698