summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt')
-rw-r--r--LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt b/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
new file mode 100644
index 0000000..1a77f93
--- /dev/null
+++ b/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
@@ -0,0 +1,13 @@
+Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no selection is made.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS sel.collapseToStart() threw exception Error: INVALID_STATE_ERR: DOM Exception 11.
+PASS sel.collapseToEnd() threw exception Error: INVALID_STATE_ERR: DOM Exception 11.
+PASS sel.collapseToStart() is undefined
+PASS sel.collapseToEnd() is undefined
+PASS successfullyParsed is true
+
+TEST COMPLETE
+