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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/selection/interfaces-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/external/wpt/selection/interfaces-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/selection/interfaces-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/selection/interfaces-expected.txt
index 8d50fe5aba40e961f7c96bb18cd9a76035a976b6..4031d547c9fba0efae49ae3084ebc06b6079cb97 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/selection/interfaces-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/selection/interfaces-expected.txt
@@ -37,7 +37,7 @@ PASS Selection interface: getSelection() must inherit property "collapseToEnd" w
PASS Selection interface: getSelection() must inherit property "extend" with the proper type (8)
FAIL Selection interface: calling extend(Node,unsigned long) on getSelection() with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
fn.apply(obj, args);
- }" did not throw
+ }" threw object "InvalidStateError: Failed to execute 'extend' on 'Selection': This Selection object doesn't have any Ranges." ("InvalidStateError") expected object "TypeError" ("TypeError")
PASS Selection interface: getSelection() must inherit property "selectAllChildren" with the proper type (9)
PASS Selection interface: calling selectAllChildren(Node) on getSelection() with too few arguments must throw TypeError
PASS Selection interface: getSelection() must inherit property "deleteFromDocument" with the proper type (10)

Powered by Google App Engine
This is Rietveld 408576698