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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/selection/setBaseAndExtent-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/external/wpt/selection/setBaseAndExtent-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/selection/setBaseAndExtent-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/selection/setBaseAndExtent-expected.txt
index c33e0fe96a2b60168916c139c5e2d63907275bde..968982dcb3e87e71188d4b3444d98aada5f52c29 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/selection/setBaseAndExtent-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/selection/setBaseAndExtent-expected.txt
@@ -166,7 +166,7 @@ FAIL Range 56 [foreignDocfrag, 0, foreignDocfrag, 0] setBaseAndExtent() assert_e
FAIL Reverse range 56 [foreignDocfrag, 0, foreignDocfrag, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested focus node expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
FAIL Range 57 [xmlDocfrag, 0, xmlDocfrag, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested anchor node expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
FAIL Reverse range 57 [xmlDocfrag, 0, xmlDocfrag, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested focus node expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
-FAIL setBaseAndExtent() with index larger than length assert_equals: focus offset, got an IndexSizeError exception expected "IndexSizeError" but got "Error"
+PASS setBaseAndExtent() with index larger than length
PASS setBaseAndExtent() with negative index
FAIL setBaseAndExtent() with null nodes assert_equals: focus node, got an TypeError exception expected "TypeError" but got "Error"
PASS setBaseAndExtent() with too few params

Powered by Google App Engine
This is Rietveld 408576698