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

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: *facepalm* 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
« no previous file with comments | « LayoutTests/fast/events/window-onerror-08.html ('k') | LayoutTests/fast/events/window-onerror-09.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c53b221d87a3ed25c7300ada21664fb20891b389
--- /dev/null
+++ b/LayoutTests/fast/events/window-onerror-08-expected.txt
@@ -0,0 +1,9 @@
+PASS window.event.type is "error"
+PASS onerrorMessage is window.event.message
+PASS stripURL(onerrorURL) is stripURL(window.event.filename)
+PASS onerrorLine is window.event.lineno
+PASS window.event.column is undefined.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This tests that when 'window.onerror' handler is called, 'window.event' is the corresponding ErrorEvent object.
« no previous file with comments | « LayoutTests/fast/events/window-onerror-08.html ('k') | LayoutTests/fast/events/window-onerror-09.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698