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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/DOMSelection-crossing-document-expected.txt

Issue 2686663004: Selection API: Selection.extend() should throw if rangeCount is 0. (Closed)
Patch Set: focus() -> collapse() 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/DOMSelection-crossing-document-expected.txt
diff --git a/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-crossing-document-expected.txt b/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-crossing-document-expected.txt
index b99451616903dbf17ad9b88805e65eea994e3b39..3d66abe776fe951c86dc5061d6d2d12bb55e76f5 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-crossing-document-expected.txt
+++ b/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-crossing-document-expected.txt
@@ -7,6 +7,7 @@ PASS foreignSel.anchorNode is null
PASS mainSel.anchorNode is null
PASS foreignSel.anchorNode is null
PASS mainSel.anchorNode is null
+PASS mainSel.extend(foreignElement, 1) threw exception InvalidStateError: Failed to execute 'extend' on 'Selection': This Selection object doesn't have any Ranges..
PASS foreignSel.anchorNode is null
PASS mainSel.anchorNode is null
PASS foreignSel.anchorNode is null

Powered by Google App Engine
This is Rietveld 408576698