| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 Found 46 tests. 38 PASS 8 FAIL 0 TIMEOUT 0 NOTRUN |
| 2 PASS Selection interface: existence and properties of interface object | 3 PASS Selection interface: existence and properties of interface object |
| 3 PASS Selection interface object length | 4 PASS Selection interface object length |
| 4 PASS Selection interface object name | 5 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 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: existence and properties of interface prototype object
's "constructor" property |
| 7 PASS Selection interface: attribute anchorNode | 8 PASS Selection interface: attribute anchorNode |
| 8 PASS Selection interface: attribute anchorOffset | 9 PASS Selection interface: attribute anchorOffset |
| 9 PASS Selection interface: attribute focusNode | 10 PASS Selection interface: attribute focusNode |
| 10 PASS Selection interface: attribute focusOffset | 11 PASS Selection interface: attribute focusOffset |
| 11 PASS Selection interface: attribute isCollapsed | 12 PASS Selection interface: attribute isCollapsed |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 PASS Selection interface: getSelection() must inherit property "rangeCount" with
the proper type (11) | 45 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: 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: 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: 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 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: 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 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 PASS Selection interface: getSelection() must inherit property "removeAllRanges"
with the proper type (15) |
| 52 Harness: the test ran to completion. | 53 Harness: the test ran to completion. |
| 53 | 54 |
| OLD | NEW |