Index: third_party/WebKit/LayoutTests/editing/selection/collapse-null-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/editing/selection/collapse-null-expected.txt b/third_party/WebKit/LayoutTests/editing/selection/collapse-null-expected.txt |
index 6741530f4aaced5857174d1d9d028c8a053d99a1..f8d6e1fd010b57d850f4f354f70500a0c7338192 100644 |
--- a/third_party/WebKit/LayoutTests/editing/selection/collapse-null-expected.txt |
+++ b/third_party/WebKit/LayoutTests/editing/selection/collapse-null-expected.txt |
@@ -1,12 +1,13 @@ |
-Ensure that collapse with null clears selection |
+Ensure that collapse or setPosition with null throws an exception |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
PASS selection.rangeCount is 1 |
-PASS selection.rangeCount is 0 |
+PASS selection.collapse(null) threw exception TypeError: Failed to execute 'collapse' on 'Selection': parameter 1 is not of type 'Node'.. |
+PASS selection.rangeCount is 1 |
+PASS selection.setPosition(null) threw exception TypeError: Failed to execute 'setPosition' on 'Selection': parameter 1 is not of type 'Node'.. |
PASS selection.rangeCount is 1 |
-PASS selection.rangeCount is 0 |
PASS successfullyParsed is true |
TEST COMPLETE |