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

Unified Diff: LayoutTests/fast/dom/event-target-arguments-expected.txt

Issue 201603002: Simplify EventTarget bindings generation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't change web behavior Created 6 years, 9 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/dom/event-target-arguments.html ('k') | Source/bindings/templates/methods.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/event-target-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/event-target-arguments-expected.txt b/LayoutTests/fast/dom/event-target-arguments-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eec10fd6b6da7c990bb5156fbb534b2535e477ae
--- /dev/null
+++ b/LayoutTests/fast/dom/event-target-arguments-expected.txt
@@ -0,0 +1,34 @@
+EventTarget.addEventListener and EventTarget.removeEventLister should throw on invalid arguments.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Signature:
+void addEventListener(DOMString type, EventListener listener, optional boolean useCapture)
+PASS document.addEventListener() is undefined
+PASS document.addEventListener("foo") is undefined
+PASS document.addEventListener("foo", listener) did not throw exception.
+PASS document.addEventListener("", listener) did not throw exception.
+PASS document.addEventListener("", function(){}) did not throw exception.
+PASS document.addEventListener("bar", listener, false) did not throw exception.
+PASS document.addEventListener("bar", listener, true) did not throw exception.
+PASS document.addEventListener(null, listener) did not throw exception.
+PASS document.addEventListener("zork", listener, null) did not throw exception.
+PASS document.addEventListener("zork", listener, undefined) did not throw exception.
+
+Signature:
+void removeEventListener(DOMString type, EventListener listener, optional boolean useCapture)
+PASS document.removeEventListener() is undefined
+PASS document.removeEventListener("foo") is undefined
+PASS document.removeEventListener("foo", listener) did not throw exception.
+PASS document.removeEventListener("foo", listener, true) did not throw exception.
+PASS document.removeEventListener("bar", listener, false) did not throw exception.
+PASS document.removeEventListener("bar", listener, false) did not throw exception.
+PASS document.addEventListener("bar", listener, true) did not throw exception.
+PASS document.removeEventListener(null, listener) did not throw exception.
+PASS document.removeEventListener("zork", listener, null) did not throw exception.
+PASS document.removeEventListener("zork", listener, undefined) did not throw exception.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/event-target-arguments.html ('k') | Source/bindings/templates/methods.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698