OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 Found 59 tests; 55 PASS, 4 FAIL, 0 TIMEOUT, 0 NOTRUN. | 2 Found 59 tests; 58 PASS, 1 FAIL, 0 TIMEOUT, 0 NOTRUN. |
3 PASS Selection interface: existence and properties of interface object | 3 PASS Selection interface: existence and properties of interface object |
4 PASS Selection interface object length | 4 PASS Selection interface object length |
5 PASS Selection interface object name | 5 PASS Selection interface object name |
6 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 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]" |
7 PASS Selection interface: existence and properties of interface prototype object
's "constructor" property | 7 PASS Selection interface: existence and properties of interface prototype object
's "constructor" property |
8 PASS Selection interface: attribute anchorNode | 8 PASS Selection interface: attribute anchorNode |
9 PASS Selection interface: attribute anchorOffset | 9 PASS Selection interface: attribute anchorOffset |
10 PASS Selection interface: attribute focusNode | 10 PASS Selection interface: attribute focusNode |
11 PASS Selection interface: attribute focusOffset | 11 PASS Selection interface: attribute focusOffset |
12 PASS Selection interface: attribute isCollapsed | 12 PASS Selection interface: attribute isCollapsed |
13 PASS Selection interface: attribute rangeCount | 13 PASS Selection interface: attribute rangeCount |
14 PASS Selection interface: attribute type | 14 PASS Selection interface: attribute type |
15 PASS Selection interface: operation getRangeAt(unsigned long) | 15 PASS Selection interface: operation getRangeAt(unsigned long) |
16 PASS Selection interface: operation addRange(Range) | 16 PASS Selection interface: operation addRange(Range) |
17 FAIL Selection interface: operation removeRange(Range) assert_own_property: inte
rface prototype object missing non-static operation expected property "removeRan
ge" missing | 17 PASS Selection interface: operation removeRange(Range) |
18 PASS Selection interface: operation removeAllRanges() | 18 PASS Selection interface: operation removeAllRanges() |
19 PASS Selection interface: operation empty() | 19 PASS Selection interface: operation empty() |
20 PASS Selection interface: operation collapse(Node,unsigned long) | 20 PASS Selection interface: operation collapse(Node,unsigned long) |
21 PASS Selection interface: operation setPosition(Node,unsigned long) | 21 PASS Selection interface: operation setPosition(Node,unsigned long) |
22 PASS Selection interface: operation collapseToStart() | 22 PASS Selection interface: operation collapseToStart() |
23 PASS Selection interface: operation collapseToEnd() | 23 PASS Selection interface: operation collapseToEnd() |
24 PASS Selection interface: operation extend(Node,unsigned long) | 24 PASS Selection interface: operation extend(Node,unsigned long) |
25 PASS Selection interface: operation setBaseAndExtent(Node,unsigned long,Node,uns
igned long) | 25 PASS Selection interface: operation setBaseAndExtent(Node,unsigned long,Node,uns
igned long) |
26 PASS Selection interface: operation selectAllChildren(Node) | 26 PASS Selection interface: operation selectAllChildren(Node) |
27 PASS Selection interface: operation deleteFromDocument() | 27 PASS Selection interface: operation deleteFromDocument() |
28 PASS Selection interface: operation containsNode(Node,boolean) | 28 PASS Selection interface: operation containsNode(Node,boolean) |
29 PASS Selection interface: stringifier | 29 PASS Selection interface: stringifier |
30 PASS Selection must be primary interface of getSelection() | 30 PASS Selection must be primary interface of getSelection() |
31 PASS Stringification of getSelection() | 31 PASS Stringification of getSelection() |
32 PASS Selection interface: getSelection() must inherit property "anchorNode" with
the proper type (0) | 32 PASS Selection interface: getSelection() must inherit property "anchorNode" with
the proper type (0) |
33 PASS Selection interface: getSelection() must inherit property "anchorOffset" wi
th the proper type (1) | 33 PASS Selection interface: getSelection() must inherit property "anchorOffset" wi
th the proper type (1) |
34 PASS Selection interface: getSelection() must inherit property "focusNode" with
the proper type (2) | 34 PASS Selection interface: getSelection() must inherit property "focusNode" with
the proper type (2) |
35 PASS Selection interface: getSelection() must inherit property "focusOffset" wit
h the proper type (3) | 35 PASS Selection interface: getSelection() must inherit property "focusOffset" wit
h the proper type (3) |
36 PASS Selection interface: getSelection() must inherit property "isCollapsed" wit
h the proper type (4) | 36 PASS Selection interface: getSelection() must inherit property "isCollapsed" wit
h the proper type (4) |
37 PASS Selection interface: getSelection() must inherit property "rangeCount" with
the proper type (5) | 37 PASS Selection interface: getSelection() must inherit property "rangeCount" with
the proper type (5) |
38 PASS Selection interface: getSelection() must inherit property "type" with the p
roper type (6) | 38 PASS Selection interface: getSelection() must inherit property "type" with the p
roper type (6) |
39 PASS Selection interface: getSelection() must inherit property "getRangeAt" with
the proper type (7) | 39 PASS Selection interface: getSelection() must inherit property "getRangeAt" with
the proper type (7) |
40 PASS Selection interface: calling getRangeAt(unsigned long) on getSelection() wi
th too few arguments must throw TypeError | 40 PASS Selection interface: calling getRangeAt(unsigned long) on getSelection() wi
th too few arguments must throw TypeError |
41 PASS Selection interface: getSelection() must inherit property "addRange" with t
he proper type (8) | 41 PASS Selection interface: getSelection() must inherit property "addRange" with t
he proper type (8) |
42 PASS Selection interface: calling addRange(Range) on getSelection() with too few
arguments must throw TypeError | 42 PASS Selection interface: calling addRange(Range) on getSelection() with too few
arguments must throw TypeError |
43 FAIL Selection interface: getSelection() must inherit property "removeRange" wit
h the proper type (9) assert_inherits: property "removeRange" not found in proto
type chain | 43 PASS Selection interface: getSelection() must inherit property "removeRange" wit
h the proper type (9) |
44 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 | 44 PASS Selection interface: calling removeRange(Range) on getSelection() with too
few arguments must throw TypeError |
45 PASS Selection interface: getSelection() must inherit property "removeAllRanges"
with the proper type (10) | 45 PASS Selection interface: getSelection() must inherit property "removeAllRanges"
with the proper type (10) |
46 PASS Selection interface: getSelection() must inherit property "empty" with the
proper type (11) | 46 PASS Selection interface: getSelection() must inherit property "empty" with the
proper type (11) |
47 PASS Selection interface: getSelection() must inherit property "collapse" with t
he proper type (12) | 47 PASS Selection interface: getSelection() must inherit property "collapse" with t
he proper type (12) |
48 PASS Selection interface: calling collapse(Node,unsigned long) on getSelection()
with too few arguments must throw TypeError | 48 PASS Selection interface: calling collapse(Node,unsigned long) on getSelection()
with too few arguments must throw TypeError |
49 PASS Selection interface: getSelection() must inherit property "setPosition" wit
h the proper type (13) | 49 PASS Selection interface: getSelection() must inherit property "setPosition" wit
h the proper type (13) |
50 PASS Selection interface: calling setPosition(Node,unsigned long) on getSelectio
n() with too few arguments must throw TypeError | 50 PASS Selection interface: calling setPosition(Node,unsigned long) on getSelectio
n() with too few arguments must throw TypeError |
51 PASS Selection interface: getSelection() must inherit property "collapseToStart"
with the proper type (14) | 51 PASS Selection interface: getSelection() must inherit property "collapseToStart"
with the proper type (14) |
52 PASS Selection interface: getSelection() must inherit property "collapseToEnd" w
ith the proper type (15) | 52 PASS Selection interface: getSelection() must inherit property "collapseToEnd" w
ith the proper type (15) |
53 PASS Selection interface: getSelection() must inherit property "extend" with the
proper type (16) | 53 PASS Selection interface: getSelection() must inherit property "extend" with the
proper type (16) |
54 PASS Selection interface: calling extend(Node,unsigned long) on getSelection() w
ith too few arguments must throw TypeError | 54 PASS Selection interface: calling extend(Node,unsigned long) on getSelection() w
ith too few arguments must throw TypeError |
55 PASS Selection interface: getSelection() must inherit property "setBaseAndExtent
" with the proper type (17) | 55 PASS Selection interface: getSelection() must inherit property "setBaseAndExtent
" with the proper type (17) |
56 PASS Selection interface: calling setBaseAndExtent(Node,unsigned long,Node,unsig
ned long) on getSelection() with too few arguments must throw TypeError | 56 PASS Selection interface: calling setBaseAndExtent(Node,unsigned long,Node,unsig
ned long) on getSelection() with too few arguments must throw TypeError |
57 PASS Selection interface: getSelection() must inherit property "selectAllChildre
n" with the proper type (18) | 57 PASS Selection interface: getSelection() must inherit property "selectAllChildre
n" with the proper type (18) |
58 PASS Selection interface: calling selectAllChildren(Node) on getSelection() with
too few arguments must throw TypeError | 58 PASS Selection interface: calling selectAllChildren(Node) on getSelection() with
too few arguments must throw TypeError |
59 PASS Selection interface: getSelection() must inherit property "deleteFromDocume
nt" with the proper type (19) | 59 PASS Selection interface: getSelection() must inherit property "deleteFromDocume
nt" with the proper type (19) |
60 PASS Selection interface: getSelection() must inherit property "containsNode" wi
th the proper type (20) | 60 PASS Selection interface: getSelection() must inherit property "containsNode" wi
th the proper type (20) |
61 PASS Selection interface: calling containsNode(Node,boolean) on getSelection() w
ith too few arguments must throw TypeError | 61 PASS Selection interface: calling containsNode(Node,boolean) on getSelection() w
ith too few arguments must throw TypeError |
62 Harness: the test ran to completion. | 62 Harness: the test ran to completion. |
63 | 63 |
OLD | NEW |