Re: selection: Update Selection interface definition for the 20161206 draft. (#4947)

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/203953506)

# Firefox (nightly channel) #
Testing web-platform-tests at revision 7ddeda9f165c0bb5ca7cea71adef3eeb5d00690d
Using browser at version BuildID 20170221110300; SourceStamp d84beb192e57e26846c82d3df3599381f4663792
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>1 test ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/4947/selection/interfaces.html">/selection/interfaces.html</a></summary>


|                                                                       Subtest                                                                        | Results |
|------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|                                                                                                                                                      | OK      |
| `Selection interface: getSelection() must inherit property "type" with the proper type (6)`                                                          | FAIL    |
| `Selection interface: getSelection() must inherit property "focusNode" with the proper type (2)`                                                     | PASS    |
| `Selection interface: calling addRange(Range) on getSelection() with too few arguments must throw TypeError`                                         | PASS    |
| `Selection interface: getSelection() must inherit property "collapseToStart" with the proper type (14)`                                              | PASS    |
| `Selection interface: calling setPosition(Node,unsigned long) on getSelection() with too few arguments must throw TypeError`                         | FAIL    |
| `Selection interface: getSelection() must inherit property "collapseToEnd" with the proper type (15)`                                                | PASS    |
| `Selection interface: getSelection() must inherit property "empty" with the proper type (11)`                                                        | FAIL    |
| `Selection interface: operation addRange(Range)`                                                                                                     | PASS    |
| `Selection interface: attribute anchorNode`                                                                                                          | PASS    |
| `Selection interface: operation empty()`                                                                                                             | FAIL    |
| `Selection interface: operation collapse(Node,unsigned long)`                                                                                        | FAIL    |
| `Selection interface: operation removeAllRanges()`                                                                                                   | PASS    |
| `Selection interface: calling getRangeAt(unsigned long) on getSelection() with too few arguments must throw TypeError`                               | PASS    |
| `Selection must be primary interface of getSelection()`                                                                                              | PASS    |
| `Selection interface: operation setPosition(Node,unsigned long)`                                                                                     | FAIL    |
| `Selection interface: getSelection() must inherit property "addRange" with the proper type (8)`                                                      | PASS    |
| `Selection interface: existence and properties of interface prototype object`                                                                        | PASS    |
| `Selection interface: existence and properties of interface object`                                                                                  | PASS    |
| `Selection interface: calling removeRange(Range) on getSelection() with too few arguments must throw TypeError`                                      | PASS    |
| `Selection interface: attribute rangeCount`                                                                                                          | PASS    |
| `Selection interface: attribute type`                                                                                                                | FAIL    |
| `Selection interface: getSelection() must inherit property "removeAllRanges" with the proper type (10)`                                              | PASS    |
| `Selection interface: operation selectAllChildren(Node)`                                                                                             | PASS    |
| `Selection interface: getSelection() must inherit property "containsNode" with the proper type (20)`                                                 | PASS    |
| `Selection interface: calling selectAllChildren(Node) on getSelection() with too few arguments must throw TypeError`                                 | PASS    |
| `Selection interface: getSelection() must inherit property "deleteFromDocument" with the proper type (19)`                                           | PASS    |
| `Selection interface: getSelection() must inherit property "focusOffset" with the proper type (3)`                                                   | PASS    |
| `Selection interface: operation removeRange(Range)`                                                                                                  | PASS    |
| `Selection interface: getSelection() must inherit property "anchorNode" with the proper type (0)`                                                    | PASS    |
| `Selection interface: operation getRangeAt(unsigned long)`                                                                                           | PASS    |
| `Selection interface: getSelection() must inherit property "removeRange" with the proper type (9)`                                                   | PASS    |
| `Selection interface: getSelection() must inherit property "isCollapsed" with the proper type (4)`                                                   | PASS    |
| `Selection interface object name`                                                                                                                    | PASS    |
| `Selection interface: getSelection() must inherit property "setPosition" with the proper type (13)`                                                  | FAIL    |
| `Selection interface: existence and properties of interface prototype object's "constructor" property`                                               | PASS    |
| `Selection interface: getSelection() must inherit property "selectAllChildren" with the proper type (18)`                                            | PASS    |
| `Selection interface: calling extend(Node,unsigned long) on getSelection() with too few arguments must throw TypeError`                              | PASS    |
| `Selection interface: getSelection() must inherit property "extend" with the proper type (16)`                                                       | PASS    |
| `Selection interface: operation setBaseAndExtent(Node,unsigned long,Node,unsigned long)`                                                             | PASS    |
| `Selection interface: operation deleteFromDocument()`                                                                                                | PASS    |
| `Selection interface: getSelection() must inherit property "rangeCount" with the proper type (5)`                                                    | PASS    |
| `Selection interface: attribute isCollapsed`                                                                                                         | PASS    |
| `Selection interface: attribute anchorOffset`                                                                                                        | PASS    |
| `Selection interface object length`                                                                                                                  | PASS    |
| `Stringification of getSelection()`                                                                                                                  | PASS    |
| `Selection interface: getSelection() must inherit property "setBaseAndExtent" with the proper type (17)`                                             | PASS    |
| `Selection interface: stringifier`                                                                                                                   | PASS    |
| `Selection interface: getSelection() must inherit property "getRangeAt" with the proper type (7)`                                                    | PASS    |
| `Selection interface: attribute focusOffset`                                                                                                         | PASS    |
| `Selection interface: calling setBaseAndExtent(Node,unsigned long,Node,unsigned long) on getSelection() with too few arguments must throw TypeError` | PASS    |
| `Selection interface: getSelection() must inherit property "collapse" with the proper type (12)`                                                     | PASS    |
| `Selection interface: getSelection() must inherit property "anchorOffset" with the proper type (1)`                                                  | PASS    |
| `Selection interface: calling collapse(Node,unsigned long) on getSelection() with too few arguments must throw TypeError`                            | PASS    |
| `Selection interface: operation containsNode(Node,boolean)`                                                                                          | FAIL    |
| `Selection interface: operation collapseToEnd()`                                                                                                     | PASS    |
| `Selection interface: operation extend(Node,unsigned long)`                                                                                          | FAIL    |
| `Selection interface: calling containsNode(Node,boolean) on getSelection() with too few arguments must throw TypeError`                              | PASS    |
| `Selection interface: attribute focusNode`                                                                                                           | PASS    |
| `Selection interface: operation collapseToStart()`                                                                                                   | PASS    |

</details>
</details>

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4947#issuecomment-281471842

Received on Tuesday, 21 February 2017 20:35:36 UTC