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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 eval(expr); | 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 | 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"
}] }) | 46 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password"
}] }) |
47 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }]
}) | 47 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }]
}) |
48 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid"
}] }) assert_throws: function "function () { | 48 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid"
}] }) assert_throws: function "function () { |
49 eval(expr); | 49 eval(expr); |
50 }" did not throw | 50 }" did not throw |
51 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] })
assert_throws: function "function () { | 51 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] })
assert_throws: function "function () { |
52 eval(expr); | 52 eval(expr); |
53 }" did not throw | 53 }" did not throw |
54 FAIL new RTCPeerConnection({ iceTransportPolicy: null }) assert_throws: function
"function () { | 54 PASS new RTCPeerConnection({ iceTransportPolicy: null }) |
55 eval(expr); | |
56 }" did not throw | |
57 PASS new RTCPeerConnection({ iceTransportPolicy: undefined }) | 55 PASS new RTCPeerConnection({ iceTransportPolicy: undefined }) |
58 PASS new RTCPeerConnection({ iceTransportPolicy: "relay" }) | 56 PASS new RTCPeerConnection({ iceTransportPolicy: "relay" }) |
59 PASS new RTCPeerConnection({ iceTransportPolicy: "all" }) | 57 PASS new RTCPeerConnection({ iceTransportPolicy: "all" }) |
60 FAIL new RTCPeerConnection({ iceTransportPolicy: "invalid" }) assert_throws: fun
ction "function () { | 58 PASS new RTCPeerConnection({ iceTransportPolicy: "invalid" }) |
61 eval(expr); | |
62 }" did not throw | |
63 FAIL new RTCPeerConnection({ iceTransportPolicy: "none" }) assert_throws: functi
on "function () { | 59 FAIL new RTCPeerConnection({ iceTransportPolicy: "none" }) assert_throws: functi
on "function () { |
64 eval(expr); | 60 eval(expr); |
65 }" did not throw | 61 }" did not throw |
66 FAIL new RTCPeerConnection({ iceTransports: "invalid" }) Failed to construct 'RT
CPeerConnection': The provided value 'invalid' is not a valid enum value of type
RTCIceTransports. | 62 FAIL new RTCPeerConnection({ iceTransports: "invalid" }) Failed to construct 'RT
CPeerConnection': The provided value 'invalid' is not a valid enum value of type
RTCIceTransportPolicy. |
67 PASS new RTCPeerConnection({ iceTransports: "none" }) | 63 PASS new RTCPeerConnection({ iceTransports: "none" }) |
68 PASS new RTCPeerConnection({ bundlePolicy: null }) | 64 PASS new RTCPeerConnection({ bundlePolicy: null }) |
69 PASS new RTCPeerConnection({ bundlePolicy: undefined }) | 65 PASS new RTCPeerConnection({ bundlePolicy: undefined }) |
70 PASS new RTCPeerConnection({ bundlePolicy: "balanced" }) | 66 PASS new RTCPeerConnection({ bundlePolicy: "balanced" }) |
71 PASS new RTCPeerConnection({ bundlePolicy: "max-compat" }) | 67 PASS new RTCPeerConnection({ bundlePolicy: "max-compat" }) |
72 PASS new RTCPeerConnection({ bundlePolicy: "max-bundle" }) | 68 PASS new RTCPeerConnection({ bundlePolicy: "max-bundle" }) |
73 PASS new RTCPeerConnection({ bundlePolicy: "invalid" }) | 69 PASS new RTCPeerConnection({ bundlePolicy: "invalid" }) |
74 PASS new RTCPeerConnection({ rtcpMuxPolicy: null }) | 70 PASS new RTCPeerConnection({ rtcpMuxPolicy: null }) |
75 PASS new RTCPeerConnection({ rtcpMuxPolicy: undefined }) | 71 PASS new RTCPeerConnection({ rtcpMuxPolicy: undefined }) |
76 PASS new RTCPeerConnection({ rtcpMuxPolicy: "negotiate" }) | 72 PASS new RTCPeerConnection({ rtcpMuxPolicy: "negotiate" }) |
(...skipping 22 matching lines...) Expand all Loading... |
99 PASS remoteDescription initial value | 95 PASS remoteDescription initial value |
100 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined | 96 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined |
101 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined | 97 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined |
102 PASS signalingState initial value | 98 PASS signalingState initial value |
103 PASS iceGatheringState initial value | 99 PASS iceGatheringState initial value |
104 PASS iceConnectionState initial value | 100 PASS iceConnectionState initial value |
105 FAIL connectionState initial value assert_equals: expected (string) "new" but go
t (undefined) undefined | 101 FAIL connectionState initial value assert_equals: expected (string) "new" but go
t (undefined) undefined |
106 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null
but got (undefined) undefined | 102 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null
but got (undefined) undefined |
107 Harness: the test ran to completion. | 103 Harness: the test ran to completion. |
108 | 104 |
OLD | NEW |