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

Unified Diff: LayoutTests/fast/dom/Window/window-legacy-event-listener-expected.txt

Issue 331323012: Revert of Throw TypeError when addEventListener or removeEventListener are called (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/dom/Window/window-legacy-event-listener-expected.txt
diff --git a/LayoutTests/fast/dom/Window/window-legacy-event-listener-expected.txt b/LayoutTests/fast/dom/Window/window-legacy-event-listener-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c0a5c23e25404a8164f9214f37ec0a94f2c15e2
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/window-legacy-event-listener-expected.txt
@@ -0,0 +1,13 @@
+Test addEventListener() and removeEventListener() fail silently if arguments are missing.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS window.addEventListener("foo") is undefined
+PASS window.removeEventListener("bar") is undefined
+PASS window.addEventListener() is undefined
+PASS window.removeEventListener() is undefined
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698