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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/type-checking-expected.txt

Issue 1778683005: Drop remaining [LegacyInterfaceTypeChecking] for Selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more tests Created 4 years, 9 months 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/editing/selection/type-checking-expected.txt
diff --git a/third_party/WebKit/LayoutTests/editing/selection/type-checking-expected.txt b/third_party/WebKit/LayoutTests/editing/selection/type-checking-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..752c673b0d8bcc5dc54e9f2c0586ac173f9e68d8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/selection/type-checking-expected.txt
@@ -0,0 +1,21 @@
+PASS selection.collapse(document.body, 0) did not throw exception.
+PASS selection.collapse(null, 0) did not throw exception.
+PASS selection.collapse(undefined, 0) did not throw exception.
+PASS selection.collapse(0, 0) threw exception TypeError: Failed to execute 'collapse' on 'Selection': parameter 1 is not of type 'Node'..
+PASS selection.collapse(window, 0) threw exception TypeError: Failed to execute 'collapse' on 'Selection': parameter 1 is not of type 'Node'..
+PASS selection.setPosition(document.body, 0) did not throw exception.
+PASS selection.setPosition(null, 0) did not throw exception.
+PASS selection.setPosition(undefined, 0) did not throw exception.
+PASS selection.setPosition(0, 0) threw exception TypeError: Failed to execute 'setPosition' on 'Selection': parameter 1 is not of type 'Node'..
+PASS selection.setPosition(window, 0) threw exception TypeError: Failed to execute 'setPosition' on 'Selection': parameter 1 is not of type 'Node'..
+PASS selection.setBaseAndExtent(document.body, 0, document.body, 0) did not throw exception.
+PASS selection.setBaseAndExtent(null, 0, null, 0) did not throw exception.
+PASS selection.setBaseAndExtent(undefined, 0, undefined, 0) did not throw exception.
+PASS selection.setBaseAndExtent(0, 0, null, 0) threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': parameter 1 is not of type 'Node'..
+PASS selection.setBaseAndExtent(null, 0, 0, 0) threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': parameter 3 is not of type 'Node'..
+PASS selection.setBaseAndExtent(window, 0, null, 0) threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': parameter 1 is not of type 'Node'..
+PASS selection.setBaseAndExtent(null, 0, window, 0) threw exception TypeError: Failed to execute 'setBaseAndExtent' on 'Selection': parameter 3 is not of type 'Node'..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698