| Index: third_party/WebKit/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
|
| index fe8d89914f57761f2e92dea1691a7ae2b29b517a..881edffcea52d4b5b1ebbcdab9493d40c87f3a07 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
|
| @@ -1,13 +1,10 @@
|
| -Tests the properties of the exception thrown by dispatchEvent.
|
| +Tests that dispatchEvent's argument is required to be an Event.
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS e.toString() is "InvalidStateError: Failed to execute 'dispatchEvent' on 'EventTarget': The event provided is null."
|
| -PASS Object.prototype.toString.call(e) is "[object DOMException]"
|
| -FAIL Object.prototype.toString.call(e.__proto__) should be [object DOMExceptionPrototype]. Was [object Object].
|
| -PASS e.constructor.toString() is "function DOMException() { [native code] }"
|
| -PASS e.constructor is window.DOMException
|
| +PASS document.dispatchEvent(null) threw exception TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'..
|
| +PASS document.dispatchEvent(document) threw exception TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'..
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|