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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt

Issue 1479063003: Drop [LegacyInterfaceTypeChecking] for EventTarget's dispatchEvent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 5 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests the properties of the exception thrown by dispatchEvent. 1 Tests that dispatchEvent's argument is required to be an Event.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS e.toString() is "InvalidStateError: Failed to execute 'dispatchEvent' on 'E ventTarget': The event provided is null." 6 PASS document.dispatchEvent(null) threw exception TypeError: Failed to execute ' dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'..
7 PASS Object.prototype.toString.call(e) is "[object DOMException]" 7 PASS document.dispatchEvent(document) threw exception TypeError: Failed to execu te 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'..
8 FAIL Object.prototype.toString.call(e.__proto__) should be [object DOMExceptionP rototype]. Was [object Object].
9 PASS e.constructor.toString() is "function DOMException() { [native code] }"
10 PASS e.constructor is window.DOMException
11 PASS successfullyParsed is true 8 PASS successfullyParsed is true
12 9
13 TEST COMPLETE 10 TEST COMPLETE
14 11
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698