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

Unified Diff: LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt

Issue 22608004: Improve 'Selection' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ugh. Created 7 years, 4 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: LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
diff --git a/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt b/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
index 6e793bbb1719b2e84b80789295fd825200d145f9..ad6a53f46dce94c855a11b1fc51ab09316f85d11 100644
--- a/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
+++ b/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
@@ -3,8 +3,8 @@ Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no se
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS sel.collapseToStart() threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
-PASS sel.collapseToEnd() threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS sel.collapseToStart() threw exception InvalidStateError: Failed to execute 'collapseToStart' on 'Selection': there is no selection..
+PASS sel.collapseToEnd() threw exception InvalidStateError: Failed to execute 'collapseToEnd' on 'Selection': there is no selection..
PASS sel.collapseToStart() is undefined
PASS sel.collapseToEnd() is undefined
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698