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

Side by Side 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 unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] setBaseAndExtent() 2 PASS Range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] setBaseAndExtent()
3 PASS Reverse range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] setBaseAnd Extent() 3 PASS Reverse range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] setBaseAnd Extent()
4 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] setBaseAndExtent() assert_equals: focusOffset must equal the requested focus offset expected 1 but got 2 4 FAIL Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] setBaseAndExtent() assert_equals: focusOffset must equal the requested focus offset expected 1 but got 2
5 FAIL Reverse range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] setBaseAnd Extent() assert_equals: anchorOffset must equal the requested focus offset expec ted 1 but got 2 5 FAIL Reverse range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] setBaseAnd Extent() assert_equals: anchorOffset must equal the requested focus offset expec ted 1 but got 2
6 PASS Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] setBaseAndExtent() 6 PASS Range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] setBaseAndExtent()
7 PASS Reverse range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] setBaseAnd Extent() 7 PASS Reverse range 2 [paras[0].firstChild, 2, paras[0].firstChild, 8] setBaseAnd Extent()
8 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] setBaseAndExtent() assert_equals: focusOffset must equal the requested focus offset expected 9 but got 10 8 FAIL Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] setBaseAndExtent() assert_equals: focusOffset must equal the requested focus offset expected 9 but got 10
9 FAIL Reverse range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] setBaseAnd Extent() assert_equals: anchorOffset must equal the requested focus offset expec ted 9 but got 10 9 FAIL Reverse range 3 [paras[0].firstChild, 2, paras[0].firstChild, 9] setBaseAnd Extent() assert_equals: anchorOffset must equal the requested focus offset expec ted 9 but got 10
10 FAIL Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested anchor node expected Text no de "Ijklmnop 10 FAIL Range 4 [paras[1].firstChild, 0, paras[1].firstChild, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested anchor node expected Text no de "Ijklmnop
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 FAIL Range 53 [detachedForeignComment, 4, detachedForeignComment, 4] setBaseAndE xtent() assert_equals: anchorNode must equal the requested anchor node expected Comment node <!--אריה יהודה--> but got Text node "Qrstuvwx" 159 FAIL Range 53 [detachedForeignComment, 4, detachedForeignComment, 4] setBaseAndE xtent() assert_equals: anchorNode must equal the requested anchor node expected Comment node <!--אריה יהודה--> but got Text node "Qrstuvwx"
160 FAIL Reverse range 53 [detachedForeignComment, 4, detachedForeignComment, 4] set BaseAndExtent() assert_equals: anchorNode must equal the requested focus node ex pected Comment node <!--אריה יהודה--> but got Text node "Qrstuvwx" 160 FAIL Reverse range 53 [detachedForeignComment, 4, detachedForeignComment, 4] set BaseAndExtent() assert_equals: anchorNode must equal the requested focus node ex pected Comment node <!--אריה יהודה--> but got Text node "Qrstuvwx"
161 FAIL Range 54 [detachedXmlComment, 2, detachedXmlComment, 6] setBaseAndExtent() assert_equals: anchorNode must equal the requested anchor node expected Comment node <!--בן חיים אליעזר--> but got Text node "Qrstuvwx" 161 FAIL Range 54 [detachedXmlComment, 2, detachedXmlComment, 6] setBaseAndExtent() assert_equals: anchorNode must equal the requested anchor node expected Comment node <!--בן חיים אליעזר--> but got Text node "Qrstuvwx"
162 FAIL Reverse range 54 [detachedXmlComment, 2, detachedXmlComment, 6] setBaseAndE xtent() assert_equals: anchorNode must equal the requested focus node expected C omment node <!--בן חיים אליעזר--> but got Text node "Qrstuvwx" 162 FAIL Reverse range 54 [detachedXmlComment, 2, detachedXmlComment, 6] setBaseAndE xtent() assert_equals: anchorNode must equal the requested focus node expected C omment node <!--בן חיים אליעזר--> but got Text node "Qrstuvwx"
163 FAIL Range 55 [docfrag, 0, docfrag, 0] setBaseAndExtent() assert_equals: anchorN ode must equal the requested anchor node expected DocumentFragment node with 0 c hildren but got Text node "Qrstuvwx" 163 FAIL Range 55 [docfrag, 0, docfrag, 0] setBaseAndExtent() assert_equals: anchorN ode must equal the requested anchor node expected DocumentFragment node with 0 c hildren but got Text node "Qrstuvwx"
164 FAIL Reverse range 55 [docfrag, 0, docfrag, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested focus node expected DocumentFragment node w ith 0 children but got Text node "Qrstuvwx" 164 FAIL Reverse range 55 [docfrag, 0, docfrag, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested focus node expected DocumentFragment node w ith 0 children but got Text node "Qrstuvwx"
165 FAIL Range 56 [foreignDocfrag, 0, foreignDocfrag, 0] setBaseAndExtent() assert_e quals: anchorNode must equal the requested anchor node expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" 165 FAIL Range 56 [foreignDocfrag, 0, foreignDocfrag, 0] setBaseAndExtent() assert_e quals: anchorNode must equal the requested anchor node expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
166 FAIL Reverse range 56 [foreignDocfrag, 0, foreignDocfrag, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested focus node expected DocumentF ragment node with 0 children but got Text node "Qrstuvwx" 166 FAIL Reverse range 56 [foreignDocfrag, 0, foreignDocfrag, 0] setBaseAndExtent() assert_equals: anchorNode must equal the requested focus node expected DocumentF ragment node with 0 children but got Text node "Qrstuvwx"
167 FAIL Range 57 [xmlDocfrag, 0, xmlDocfrag, 0] setBaseAndExtent() assert_equals: a nchorNode must equal the requested anchor node expected DocumentFragment node wi th 0 children but got Text node "Qrstuvwx" 167 FAIL Range 57 [xmlDocfrag, 0, xmlDocfrag, 0] setBaseAndExtent() assert_equals: a nchorNode must equal the requested anchor node expected DocumentFragment node wi th 0 children but got Text node "Qrstuvwx"
168 FAIL Reverse range 57 [xmlDocfrag, 0, xmlDocfrag, 0] setBaseAndExtent() assert_e quals: anchorNode must equal the requested focus node expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" 168 FAIL Reverse range 57 [xmlDocfrag, 0, xmlDocfrag, 0] setBaseAndExtent() assert_e quals: anchorNode must equal the requested focus node expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
169 FAIL setBaseAndExtent() with index larger than length assert_equals: focus offse t, got an IndexSizeError exception expected "IndexSizeError" but got "Error" 169 PASS setBaseAndExtent() with index larger than length
170 PASS setBaseAndExtent() with negative index 170 PASS setBaseAndExtent() with negative index
171 FAIL setBaseAndExtent() with null nodes assert_equals: focus node, got an TypeEr ror exception expected "TypeError" but got "Error" 171 FAIL setBaseAndExtent() with null nodes assert_equals: focus node, got an TypeEr ror exception expected "TypeError" but got "Error"
172 PASS setBaseAndExtent() with too few params 172 PASS setBaseAndExtent() with too few params
173 Harness: the test ran to completion. 173 Harness: the test ran to completion.
174 174
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698