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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/init-event-exceptions-expected.txt

Issue 1485833004: Drop [LegacyInterfaceTypeChecking] for most init*Event() methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add tests 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/init-event-exceptions-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/init-event-exceptions-expected.txt b/third_party/WebKit/LayoutTests/fast/events/init-event-exceptions-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e46f331512ad518381ab51baf6f05dcb7d46271e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/events/init-event-exceptions-expected.txt
@@ -0,0 +1,16 @@
+Tests the type checking of init*Event() methods.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.createEvent('CompositionEvent').initCompositionEvent('', false, false, {}, '') threw exception TypeError: Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 4 is not of type 'Window'..
+PASS document.createEvent('KeyboardEvent').initKeyboardEvent('', false, false, {}, '', 0, false, false, false, false) threw exception TypeError: Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 4 is not of type 'Window'..
+PASS document.createEvent('MouseEvent').initMouseEvent('', false, false, null, 0, 0, 0, 0, 0, false, false, false, false, 0, {}) threw exception TypeError: Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 15 is not of type 'EventTarget'..
+PASS document.createEvent('MouseEvent').initMouseEvent('', false, false, {}, 0, 0, 0, 0, 0, false, false, false, false, 0, null) threw exception TypeError: Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 4 is not of type 'Window'..
+PASS document.createEvent('MutationEvent').initMutationEvent('', false, false, {}, '', '', '', 0) threw exception TypeError: Failed to execute 'initMutationEvent' on 'MutationEvent': parameter 4 is not of type 'Node'..
+PASS document.createEvent('TextEvent').initTextEvent('', false, false, {}, '') threw exception TypeError: Failed to execute 'initTextEvent' on 'TextEvent': parameter 4 is not of type 'Window'..
+PASS document.createEvent('UIEvent').initUIEvent('', false, false, {}, 0) threw exception TypeError: Failed to execute 'initUIEvent' on 'UIEvent': parameter 4 is not of type 'Window'..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698