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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/DOMSelection-DocumentType-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-DocumentType-expected.txt
diff --git a/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-DocumentType-expected.txt b/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-DocumentType-expected.txt
index 2e9862345f2b8a861210a98e021bdd3ecd380917..14efec3bd6f94314011616d80f77a3e62d63c2aa 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-DocumentType-expected.txt
+++ b/third_party/WebKit/LayoutTests/editing/selection/DOMSelection-DocumentType-expected.txt
@@ -7,6 +7,7 @@ PASS sel.anchorNode is null
PASS sel.anchorNode is null
PASS sel.anchorNode is null
PASS sel.anchorNode is null
+PASS sel.extend(docType, 0) threw exception InvalidStateError: Failed to execute 'extend' on 'Selection': This Selection object doesn't have any Ranges..
PASS sel.anchorNode is null
PASS sel.anchorNode is null
PASS sel.containsNode(docType) is false

Powered by Google App Engine
This is Rietveld 408576698