Index: third_party/WebKit/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt |
index 6541ac3cac3498065eb9007b5251e20245a05132..7ce3d860135047578e448cd2180a0912df43a450 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt |
@@ -3,10 +3,10 @@ Test addEventListener() and removeEventListener() fail silently if arguments are |
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 new XMLHttpRequest().addEventListener("foo") threw exception TypeError: Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only 1 present.. |
+PASS new XMLHttpRequest().removeEventListener("bar") threw exception TypeError: Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 1 present.. |
+PASS new XMLHttpRequest().addEventListener() threw exception TypeError: Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only 0 present.. |
+PASS new XMLHttpRequest().removeEventListener() threw exception TypeError: Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 0 present.. |
PASS successfullyParsed is true |
TEST COMPLETE |