Re: [webrtc-tests] Adding tests for RTCDataChannel id attribute. (#5742)

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

# Firefox (nightly channel) #
Testing web-platform-tests at revision 43bcbca9214c7ff34a2a5c3aab37fa41f4e00e93
Using browser at version BuildID 20170429100354; SourceStamp 308cdb913d717f8edc932f5bac93854e3e54b84d
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/5742/webrtc/RTCPeerConnection-createDataChannel.html">/webrtc/RTCPeerConnection-createDataChannel.html</a></summary>


|                              Subtest                               | Results |                                                                                                                                                  Messages                                                                                                                                                  |
|--------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                    | OK      |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel required arguments`                             | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with closed connection`                         | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel defaults`                                       | FAIL    | `RTCDataChannel is not defined`                                                                                                                                                                                                                                                                            |
| `DTLS client uses odd data channel IDs`                            | FAIL    | `assert_unreached: Error Error: assert_equals: id expected 1 but got 65535 Reached unreachable code`                                                                                                                                                                                                       |
| `DTLS server uses even data channel IDs`                           | FAIL    | `assert_unreached: Error Error: assert_equals: id expected 0 but got 65535 Reached unreachable code`                                                                                                                                                                                                       |
| `createDataChannel with label "foo"`                               | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with label null`                                | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with label undefined`                           | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with label lone surrogate`                      | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with ordered false`                             | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with ordered null/undefined`                    | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with maxPacketLifeTime 0`                       | FAIL    | `assert_equals: expected (number) 0 but got (undefined) undefined`                                                                                                                                                                                                                                         |
| `createDataChannel with maxRetransmits 0`                          | FAIL    | `assert_equals: expected (number) 0 but got (undefined) undefined`                                                                                                                                                                                                                                         |
| `createDataChannel with both maxPacketLifeTime and maxRetransmits` | FAIL    | `assert_throws: function "() => pc.createDataChannel('', {\n    maxPacketLifeTime: 0,\n    maxRetransmits: 0\n  })" threw object "InvalidParameterError: Both maxPacketLifeTime and maxRetransmits cannot be provided" that is not a DOMException SyntaxError: property "code" is equal to 0, expected 12` |
| `createDataChannel with protocol "foo"`                            | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with protocol null`                             | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with protocol undefined`                        | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with protocol lone surrogate`                   | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with negotiated true`                           | FAIL    | `assert_equals: expected (boolean) true but got (undefined) undefined`                                                                                                                                                                                                                                     |
| `createDataChannel with id -1`                                     | FAIL    | `assert_throws: function "() => pc.createDataChannel('', { id: id })" did not throw`                                                                                                                                                                                                                       |
| `createDataChannel with id 0`                                      | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with id 1`                                      | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with id 65534`                                  | PASS    |                                                                                                                                                                                                                                                                                                            |
| `createDataChannel with id 65535`                                  | FAIL    | `assert_throws: function "() => pc.createDataChannel('', { id: id })" did not throw`                                                                                                                                                                                                                       |
| `createDataChannel with id 65536`                                  | FAIL    | `assert_throws: function "() => pc.createDataChannel('', { id: id })" did not throw`                                                                                                                                                                                                                       |
| `createDataChannel with priority "high"`                           | FAIL    | `assert_equals: expected (string) "high" but got (undefined) undefined`                                                                                                                                                                                                                                    |

</details>
</details>

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

Received on Sunday, 30 April 2017 04:57:07 UTC