| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 PASS RTCPeerConnection.length | 2 PASS RTCPeerConnection.length |
| 3 PASS new RTCPeerConnection() | 3 PASS new RTCPeerConnection() |
| 4 PASS new RTCPeerConnection(null) | 4 PASS new RTCPeerConnection(null) |
| 5 PASS new RTCPeerConnection(undefined) | 5 PASS new RTCPeerConnection(undefined) |
| 6 PASS new RTCPeerConnection({}) | 6 PASS new RTCPeerConnection({}) |
| 7 PASS new RTCPeerConnection({ iceServers: null }) | 7 PASS new RTCPeerConnection({ iceServers: null }) |
| 8 PASS new RTCPeerConnection({ iceServers: undefined }) | 8 PASS new RTCPeerConnection({ iceServers: undefined }) |
| 9 PASS new RTCPeerConnection({ iceServers: [] }) | 9 PASS new RTCPeerConnection({ iceServers: [] }) |
| 10 PASS new RTCPeerConnection({ iceServers: [{}] }) | 10 PASS new RTCPeerConnection({ iceServers: [{}] }) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 }" did not throw | 30 }" did not throw |
| 31 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] })
assert_throws: function "function () { | 31 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] })
assert_throws: function "function () { |
| 32 eval(expr); | 32 eval(expr); |
| 33 }" did not throw | 33 }" did not throw |
| 34 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user
name: "user" }] }) assert_throws: function "function () { | 34 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user
name: "user" }] }) assert_throws: function "function () { |
| 35 eval(expr); | 35 eval(expr); |
| 36 }" did not throw | 36 }" did not throw |
| 37 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", cred
ential: "cred" }] }) assert_throws: function "function () { | 37 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", cred
ential: "cred" }] }) assert_throws: function "function () { |
| 38 eval(expr); | 38 eval(expr); |
| 39 }" did not throw | 39 }" did not throw |
| 40 FAIL new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] }) assert_th
rows: function "function () { | 40 PASS new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] }) |
| 41 eval(expr); | 41 PASS new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] }) |
| 42 }" threw object "TypeError: Failed to construct 'RTCPeerConnection': Malfo
rmed URL" that is not a DOMException SyntaxError: property "code" is equal to un
defined, expected 12 | |
| 43 FAIL new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] }) ass
ert_throws: function "function () { | |
| 44 eval(expr); | |
| 45 }" threw object "TypeError: Failed to construct 'RTCPeerConnection': Malfo
rmed URL" that is not a DOMException SyntaxError: property "code" is equal to un
defined, expected 12 | |
| 46 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password"
}] }) | 42 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password"
}] }) |
| 47 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }]
}) | 43 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }]
}) |
| 48 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid"
}] }) assert_throws: function "function () { | 44 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid"
}] }) assert_throws: function "function () { |
| 49 eval(expr); | 45 eval(expr); |
| 50 }" did not throw | 46 }" did not throw |
| 51 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] })
assert_throws: function "function () { | 47 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] })
assert_throws: function "function () { |
| 52 eval(expr); | 48 eval(expr); |
| 53 }" did not throw | 49 }" did not throw |
| 54 PASS new RTCPeerConnection({ iceTransportPolicy: null }) | 50 PASS new RTCPeerConnection({ iceTransportPolicy: null }) |
| 55 PASS new RTCPeerConnection({ iceTransportPolicy: undefined }) | 51 PASS new RTCPeerConnection({ iceTransportPolicy: undefined }) |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 PASS remoteDescription initial value | 87 PASS remoteDescription initial value |
| 92 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined | 88 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined |
| 93 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined | 89 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined |
| 94 PASS signalingState initial value | 90 PASS signalingState initial value |
| 95 PASS iceGatheringState initial value | 91 PASS iceGatheringState initial value |
| 96 PASS iceConnectionState initial value | 92 PASS iceConnectionState initial value |
| 97 FAIL connectionState initial value assert_equals: expected (string) "new" but go
t (undefined) undefined | 93 FAIL connectionState initial value assert_equals: expected (string) "new" but go
t (undefined) undefined |
| 98 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null
but got (undefined) undefined | 94 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null
but got (undefined) undefined |
| 99 Harness: the test ran to completion. | 95 Harness: the test ran to completion. |
| 100 | 96 |
| OLD | NEW |