Re: [webrtc-tests] Test empty username and credential in RTCPeerConnection constructor (#4071)

# Chrome #
Testing revision eda9c37b9757dcb91e27a9df08602bc25f5e4d3f
Starting 10 test iterations
All results were stable

## All results ##

### /webrtc/rtcpeerconnection/rtcpeerconnection-constructor.html ###
|                                                                   Subtest                                                                    | Results |
|----------------------------------------------------------------------------------------------------------------------------------------------|---------|
|                                                                                                                                              | OK      |
| new RTCPeerConnection({ bundlePolicy: "max-compat" })                                                                                        | PASS    |
| signalingState initial value                                                                                                                 | PASS    |
| iceGatheringState initial value                                                                                                              | PASS    |
| new RTCPeerConnection({ iceTransportPolicy: null })                                                                                          | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] })                                                                      | FAIL    |
| new RTCPeerConnection({ iceServers: [] })                                                                                                    | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net" }] })                                                                   | FAIL    |
| new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", username: "user", credential: "cred" }] })                             | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", username: "user" }] })                                                | FAIL    |
| connectionState initial value                                                                                                                | FAIL    |
| new RTCPeerConnection({ iceTransports: "none" })                                                                                             | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] })                                                                            | FAIL    |
| new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", username: "user", credential: "cred" }] })                            | PASS    |
| new RTCPeerConnection({ iceTransportPolicy: "all" })                                                                                         | PASS    |
| new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] })                                                                   | FAIL    |
| new RTCPeerConnection({ iceServers: [{}] })                                                                                                  | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", username: "user" }] })                                                 | FAIL    |
| new RTCPeerConnection()                                                                                                                      | PASS    |
| new RTCPeerConnection({ bundlePolicy: "max-bundle" })                                                                                        | PASS    |
| new RTCPeerConnection({ bundlePolicy: "invalid" })                                                                                           | PASS    |
| pendingRemoteDescription initial value                                                                                                       | FAIL    |
| new RTCPeerConnection({ iceServers: null })                                                                                                  | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net" }] })                                                                  | PASS    |
| iceConnectionState initial value                                                                                                             | PASS    |
| new RTCPeerConnection({ certificates: [expiredCertificate] })                                                                                | PASS    |
| new RTCPeerConnection({ iceServers: [undefined] })                                                                                           | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", credential: "cred" }] })                                               | FAIL    |
| new RTCPeerConnection({ rtcpMuxPolicy: "negotiate" })                                                                                        | PASS    |
| pendingLocalDescription initial value                                                                                                        | FAIL    |
| new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", credentialType: "token" }] })                                         | PASS    |
| new RTCPeerConnection({ rtcpMuxPolicy: null })                                                                                               | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }] })                                                               | PASS    |
| new RTCPeerConnection({ iceTransportPolicy: undefined })                                                                                     | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", username: "", credential: "" }] })                                    | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] })                                                                  | FAIL    |
| new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows })                                                                              | FAIL    |
| new RTCPeerConnection({ iceServers: undefined })                                                                                             | PASS    |
| new RTCPeerConnection({ bundlePolicy: undefined })                                                                                           | PASS    |
| new RTCPeerConnection({ rtcpMuxPolicy: "require" })                                                                                          | PASS    |
| new RTCPeerConnection({ peerIdentity: toStringThrows })                                                                                      | FAIL    |
| RTCPeerConnection.length                                                                                                                     | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", credential: "cred" }] })                                              | FAIL    |
| new RTCPeerConnection({})                                                                                                                    | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: ["turns:turn.example.org", "turn:turn.example.net"], username: "user", credential: "cred" }] }) | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password" }] })                                                            | PASS    |
| new RTCPeerConnection({ iceServers: [null] })                                                                                                | PASS    |
| localDescription initial value                                                                                                               | FAIL    |
| remoteDescription initial value                                                                                                              | FAIL    |
| new RTCPeerConnection({ bundlePolicy: "balanced" })                                                                                          | PASS    |
| currentLocalDescription initial value                                                                                                        | FAIL    |
| new RTCPeerConnection({ rtcpMuxPolicy: undefined })                                                                                          | PASS    |
| new RTCPeerConnection({ iceTransportPolicy: "relay" })                                                                                       | PASS    |
| new RTCPeerConnection({ certificates: [null] })                                                                                              | PASS    |
| new RTCPeerConnection({ certificates: [certificate] })                                                                                       | PASS    |
| new RTCPeerConnection({ certificates: undefined })                                                                                           | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", username: "", credential: "" }] })                                     | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", credentialType: "password" }] })                                      | PASS    |
| new RTCPeerConnection({ rtcpMuxPolicy: "invalid" })                                                                                          | PASS    |
| currentRemoteDescription initial value                                                                                                       | FAIL    |
| new RTCPeerConnection({ bundlePolicy: null })                                                                                                | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid" }] })                                                             | FAIL    |
| new RTCPeerConnection(null)                                                                                                                  | PASS    |
| new RTCPeerConnection({ certificates: [] })                                                                                                  | PASS    |
| new RTCPeerConnection(undefined)                                                                                                             | PASS    |
| new RTCPeerConnection({ iceTransports: "invalid" })                                                                                          | FAIL    |
| new RTCPeerConnection({ iceServers: [{ urls: ["stun:stun1.example.net"] }] })                                                                | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: ["stun:stun1.example.net", "stun:stun2.example.net"] }] })                                      | PASS    |
| canTrickleIceCandidates initial value                                                                                                        | FAIL    |
| new RTCPeerConnection({ certificates: [undefined] })                                                                                         | PASS    |
| new RTCPeerConnection({ iceServers: [{ urls: [] }] })                                                                                        | PASS    |
| new RTCPeerConnection({ iceTransportPolicy: "invalid" })                                                                                     | PASS    |
| new RTCPeerConnection({ certificates: null })                                                                                                | PASS    |
| new RTCPeerConnection({ iceTransportPolicy: "none" })                                                                                        | FAIL    |

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

Received on Wednesday, 26 October 2016 19:52:11 UTC