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

Unified Diff: LayoutTests/editing/selection/extend-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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/extend-expected.txt
diff --git a/LayoutTests/editing/selection/extend-expected.txt b/LayoutTests/editing/selection/extend-expected.txt
index d5d4382ddc929f3a58bb034ae8b0db669a949dab..b56f0988582fab0cdc98e0c3104a49bf1a62544b 100644
--- a/LayoutTests/editing/selection/extend-expected.txt
+++ b/LayoutTests/editing/selection/extend-expected.txt
@@ -1,8 +1,8 @@
foobarbaz
Success: window.getSelection() is ar.
-Success: s.extend(span2.firstChild, 4) raised IndexSizeError: Index or size was negative, or greater than the allowed value..
-Success: s.extend(span2.firstChild, -1) raised IndexSizeError: Index or size was negative, or greater than the allowed value..
+Success: s.extend(span2.firstChild, 4) raised IndexSizeError: Failed to execute 'extend' on 'Selection': 4 is larger than the given node's length..
+Success: s.extend(span2.firstChild, -1) raised IndexSizeError: Failed to execute 'extend' on 'Selection': -1 is not a valid offset..
Success: window.getSelection() is b.
Success: window.getSelection() is arbaz.
-Success: s.extend() raised TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
-Success: s.extend(null, 0) raised TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+Success: s.extend() raised TypeMismatchError: Failed to execute 'extend' on 'Selection': The node provided is invalid..
+Success: s.extend(null, 0) raised TypeMismatchError: Failed to execute 'extend' on 'Selection': The node provided is invalid..
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698