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

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

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests Created 3 years, 10 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/extend-expected.txt
diff --git a/third_party/WebKit/LayoutTests/editing/selection/extend-expected.txt b/third_party/WebKit/LayoutTests/editing/selection/extend-expected.txt
index d96a1a922c7156c03ded411cc476a73e36e3f07f..7d79bdfbdff6006fc1b1ba9a07d982b91de8f655 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/extend-expected.txt
+++ b/third_party/WebKit/LayoutTests/editing/selection/extend-expected.txt
@@ -1,6 +1,6 @@
foobarbaz
Success: window.getSelection() is ar.
-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, 4) raised IndexSizeError: Failed to execute 'extend' on 'Selection': The offset 4 is larger than or equal to the node's length (3)..
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.

Powered by Google App Engine
This is Rietveld 408576698