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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/selection/interfaces-expected.txt

Issue 2630243004: Manually import wpt/editing and wpt/selection/ (Closed)
Patch Set: Add expectation Created 3 years, 11 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
(Empty)
1 This is a testharness.js-based test.
2 PASS Selection interface: existence and properties of interface object
3 PASS Selection interface object length
4 PASS Selection interface object name
5 FAIL Selection interface: existence and properties of interface prototype object assert_equals: class string of Selection.prototype expected "[object SelectionP rototype]" but got "[object Selection]"
6 PASS Selection interface: existence and properties of interface prototype object 's "constructor" property
7 PASS Selection interface: attribute anchorNode
8 PASS Selection interface: attribute anchorOffset
9 PASS Selection interface: attribute focusNode
10 PASS Selection interface: attribute focusOffset
11 PASS Selection interface: attribute isCollapsed
12 FAIL Selection interface: operation collapse(Node,unsigned long) assert_equals: property has wrong .length expected 2 but got 1
13 PASS Selection interface: operation collapseToStart()
14 PASS Selection interface: operation collapseToEnd()
15 FAIL Selection interface: operation extend(Node,unsigned long) assert_equals: pr operty has wrong .length expected 2 but got 1
16 PASS Selection interface: operation selectAllChildren(Node)
17 PASS Selection interface: operation deleteFromDocument()
18 PASS Selection interface: attribute rangeCount
19 PASS Selection interface: operation getRangeAt(unsigned long)
20 PASS Selection interface: operation addRange(Range)
21 FAIL Selection interface: operation removeRange(Range) assert_own_property: inte rface prototype object missing non-static operation expected property "removeRan ge" missing
22 PASS Selection interface: operation removeAllRanges()
23 PASS Selection interface: stringifier
24 PASS Selection must be primary interface of getSelection()
25 PASS Stringification of getSelection()
26 PASS Selection interface: getSelection() must inherit property "anchorNode" with the proper type (0)
27 PASS Selection interface: getSelection() must inherit property "anchorOffset" wi th the proper type (1)
28 PASS Selection interface: getSelection() must inherit property "focusNode" with the proper type (2)
29 PASS Selection interface: getSelection() must inherit property "focusOffset" wit h the proper type (3)
30 PASS Selection interface: getSelection() must inherit property "isCollapsed" wit h the proper type (4)
31 PASS Selection interface: getSelection() must inherit property "collapse" with t he proper type (5)
32 FAIL Selection interface: calling collapse(Node,unsigned long) on getSelection() with too few arguments must throw TypeError assert_throws: Called with 1 argume nts function "function () {
33 fn.apply(obj, args);
34 }" did not throw
35 PASS Selection interface: getSelection() must inherit property "collapseToStart" with the proper type (6)
36 PASS Selection interface: getSelection() must inherit property "collapseToEnd" w ith the proper type (7)
37 PASS Selection interface: getSelection() must inherit property "extend" with the proper type (8)
38 FAIL Selection interface: calling extend(Node,unsigned long) on getSelection() w ith too few arguments must throw TypeError assert_throws: Called with 1 argument s function "function () {
39 fn.apply(obj, args);
40 }" did not throw
41 PASS Selection interface: getSelection() must inherit property "selectAllChildre n" with the proper type (9)
42 PASS Selection interface: calling selectAllChildren(Node) on getSelection() with too few arguments must throw TypeError
43 PASS Selection interface: getSelection() must inherit property "deleteFromDocume nt" with the proper type (10)
44 PASS Selection interface: getSelection() must inherit property "rangeCount" with the proper type (11)
45 PASS Selection interface: getSelection() must inherit property "getRangeAt" with the proper type (12)
46 PASS Selection interface: calling getRangeAt(unsigned long) on getSelection() wi th too few arguments must throw TypeError
47 PASS Selection interface: getSelection() must inherit property "addRange" with t he proper type (13)
48 PASS Selection interface: calling addRange(Range) on getSelection() with too few arguments must throw TypeError
49 FAIL Selection interface: getSelection() must inherit property "removeRange" wit h the proper type (14) assert_inherits: property "removeRange" not found in prot otype chain
50 FAIL Selection interface: calling removeRange(Range) on getSelection() with too few arguments must throw TypeError assert_inherits: property "removeRange" not f ound in prototype chain
51 PASS Selection interface: getSelection() must inherit property "removeAllRanges" with the proper type (15)
52 Harness: the test ran to completion.
53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698