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/203953507)

# Chrome (unstable channel) #
Testing web-platform-tests at revision 7ddeda9f165c0bb5ca7cea71adef3eeb5d00690d
Using browser at version 58.0.3013.3 dev
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)`                                                          | PASS    |
| `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`                         | PASS    |
| `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)`                                                        | PASS    |
| `Selection interface: operation addRange(Range)`                                                                                                     | PASS    |
| `Selection interface: attribute anchorNode`                                                                                                          | PASS    |
| `Selection interface: operation empty()`                                                                                                             | PASS    |
| `Selection interface: operation collapse(Node,unsigned long)`                                                                                        | PASS    |
| `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)`                                                                                     | PASS    |
| `Selection interface: getSelection() must inherit property "addRange" with the proper type (8)`                                                      | PASS    |
| `Selection interface: existence and properties of interface prototype object`                                                                        | FAIL    |
| `Selection interface: existence and properties of interface object`                                                                                  | PASS    |
| `Selection interface: calling removeRange(Range) on getSelection() with too few arguments must throw TypeError`                                      | FAIL    |
| `Selection interface: attribute rangeCount`                                                                                                          | PASS    |
| `Selection interface: attribute type`                                                                                                                | PASS    |
| `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)`                                                                                                  | FAIL    |
| `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)`                                                   | FAIL    |
| `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)`                                                  | PASS    |
| `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)`                                                                                          | PASS    |
| `Selection interface: operation collapseToEnd()`                                                                                                     | PASS    |
| `Selection interface: operation extend(Node,unsigned long)`                                                                                          | PASS    |
| `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-281471849

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