Index: third_party/WebKit/LayoutTests/fast/dom/event-target-arguments-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/event-target-arguments-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/event-target-arguments-expected.txt |
index 4a8a49a6161b1b068b5f45b156dbd55f6b8d3fc9..8a0a16a45c80f3b44315687d1d653d65413099a6 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/event-target-arguments-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/dom/event-target-arguments-expected.txt |
@@ -4,47 +4,35 @@ 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 internals.isUseCounted(document, AddEventListenerNoArguments) is false |
-PASS document.addEventListener() is undefined |
-PASS internals.isUseCounted(document, AddEventListenerNoArguments) is true |
-PASS internals.isUseCounted(document, AddEventListenerOneArgument) is false |
-PASS document.addEventListener("foo") is undefined |
-PASS internals.isUseCounted(document, AddEventListenerOneArgument) is true |
+void addEventListener(DOMString type, EventListener? listener, optional boolean useCapture) |
+PASS document.addEventListener() threw exception TypeError: Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only 0 present.. |
+PASS document.addEventListener("foo") threw exception TypeError: Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only 1 present.. |
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) is undefined |
PASS document.addEventListener(null, listener) did not throw exception. |
-PASS document.addEventListener("foo", null) is undefined |
+PASS document.addEventListener("foo", null) did not throw exception. |
PASS document.addEventListener("zork", listener, null) did not throw exception. |
-PASS document.addEventListener(undefined) is undefined |
-PASS document.addEventListener(undefined, listener) is undefined |
-PASS document.addEventListener("foo", undefined) is undefined |
+PASS document.addEventListener(undefined, listener) did not throw exception. |
+PASS document.addEventListener("foo", undefined) 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 internals.isUseCounted(document, RemoveEventListenerNoArguments) is false |
-PASS document.removeEventListener() is undefined |
-PASS internals.isUseCounted(document, RemoveEventListenerNoArguments) is true |
-PASS internals.isUseCounted(document, RemoveEventListenerOneArgument) is false |
-PASS document.removeEventListener("foo") is undefined |
-PASS internals.isUseCounted(document, RemoveEventListenerOneArgument) is true |
+void removeEventListener(DOMString type, EventListener? listener, optional boolean useCapture) |
+PASS document.removeEventListener() threw exception TypeError: Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 0 present.. |
+PASS document.removeEventListener("foo") threw exception TypeError: Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 1 present.. |
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.removeEventListener("bar", listener, true) did not throw exception. |
-PASS document.removeEventListener(null) is undefined |
PASS document.removeEventListener(null, listener) did not throw exception. |
-PASS document.removeEventListener("foo", null) is undefined |
+PASS document.removeEventListener("foo", null) did not throw exception. |
PASS document.removeEventListener("zork", listener, null) did not throw exception. |
-PASS document.removeEventListener(undefined) is undefined |
-PASS document.removeEventListener(undefined, listener) is undefined |
-PASS document.removeEventListener("foo", undefined) is undefined |
+PASS document.removeEventListener(undefined, listener) did not throw exception. |
+PASS document.removeEventListener("foo", undefined) did not throw exception. |
PASS document.removeEventListener("zork", listener, undefined) did not throw exception. |
PASS successfullyParsed is true |