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

Unified Diff: LayoutTests/fast/dom/XMLHttpRequest-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/XMLHttpRequest-legacy-event-listener-expected.txt
diff --git a/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt b/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6541ac3cac3498065eb9007b5251e20245a05132
--- /dev/null
+++ b/LayoutTests/fast/dom/XMLHttpRequest-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 new XMLHttpRequest().addEventListener("foo") is undefined
+PASS new XMLHttpRequest().removeEventListener("bar") is undefined
+PASS new XMLHttpRequest().addEventListener() is undefined
+PASS new XMLHttpRequest().removeEventListener() is undefined
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener.html ('k') | LayoutTests/fast/dom/event-target-arguments.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698