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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 PASS new RTCPeerConnection({ bundlePolicy: "max-bundle" }) | 68 PASS new RTCPeerConnection({ bundlePolicy: "max-bundle" }) |
69 PASS new RTCPeerConnection({ bundlePolicy: "invalid" }) | 69 PASS new RTCPeerConnection({ bundlePolicy: "invalid" }) |
70 PASS new RTCPeerConnection({ rtcpMuxPolicy: null }) | 70 PASS new RTCPeerConnection({ rtcpMuxPolicy: null }) |
71 PASS new RTCPeerConnection({ rtcpMuxPolicy: undefined }) | 71 PASS new RTCPeerConnection({ rtcpMuxPolicy: undefined }) |
72 PASS new RTCPeerConnection({ rtcpMuxPolicy: "negotiate" }) | 72 PASS new RTCPeerConnection({ rtcpMuxPolicy: "negotiate" }) |
73 PASS new RTCPeerConnection({ rtcpMuxPolicy: "require" }) | 73 PASS new RTCPeerConnection({ rtcpMuxPolicy: "require" }) |
74 PASS new RTCPeerConnection({ rtcpMuxPolicy: "invalid" }) | 74 PASS new RTCPeerConnection({ rtcpMuxPolicy: "invalid" }) |
75 FAIL new RTCPeerConnection({ peerIdentity: toStringThrows }) assert_throws: func
tion "function () { | 75 FAIL new RTCPeerConnection({ peerIdentity: toStringThrows }) assert_throws: func
tion "function () { |
76 eval(expr); | 76 eval(expr); |
77 }" did not throw | 77 }" did not throw |
78 FAIL new RTCPeerConnection({ certificates: null }) assert_throws: function "func
tion () { | 78 PASS new RTCPeerConnection({ certificates: null }) |
79 eval(expr); | |
80 }" did not throw | |
81 PASS new RTCPeerConnection({ certificates: undefined }) | 79 PASS new RTCPeerConnection({ certificates: undefined }) |
82 PASS new RTCPeerConnection({ certificates: [] }) | 80 PASS new RTCPeerConnection({ certificates: [] }) |
83 PASS new RTCPeerConnection({ certificates: [null] }) | 81 PASS new RTCPeerConnection({ certificates: [null] }) |
84 PASS new RTCPeerConnection({ certificates: [undefined] }) | 82 PASS new RTCPeerConnection({ certificates: [undefined] }) |
85 FAIL new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows }) assert_thro
ws: function "function () { | 83 FAIL new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows }) assert_thro
ws: function "function () { |
86 eval(expr); | 84 eval(expr); |
87 }" did not throw | 85 }" did not throw |
88 PASS new RTCPeerConnection({ certificates: [certificate] }) | 86 PASS new RTCPeerConnection({ certificates: [certificate] }) |
89 FAIL new RTCPeerConnection({ certificates: [expiredCertificate] }) assert_throws
: function "function () { | 87 FAIL new RTCPeerConnection({ certificates: [expiredCertificate] }) assert_throws
: function "function () { |
90 new RTCPeerConnection({ certificates: [certificate] }); | 88 new RTCPeerConnection({ certificates: [certificate] }); |
91 }" threw object "InvalidStateError: Failed to construct 'RTCPeerConnecti
on': Expired certificate(s)." that is not a DOMException InvalidAccessError: pro
perty "code" is equal to 11, expected 15 | 89 }" threw object "InvalidStateError: Failed to construct 'RTCPeerConnecti
on': Expired certificate(s)." that is not a DOMException InvalidAccessError: pro
perty "code" is equal to 11, expected 15 |
92 PASS localDescription initial value | 90 PASS localDescription initial value |
93 FAIL currentLocalDescription initial value assert_equals: expected (object) null
but got (undefined) undefined | 91 FAIL currentLocalDescription initial value assert_equals: expected (object) null
but got (undefined) undefined |
94 FAIL pendingLocalDescription initial value assert_equals: expected (object) null
but got (undefined) undefined | 92 FAIL pendingLocalDescription initial value assert_equals: expected (object) null
but got (undefined) undefined |
95 PASS remoteDescription initial value | 93 PASS remoteDescription initial value |
96 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined | 94 FAIL currentRemoteDescription 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 | 95 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul
l but got (undefined) undefined |
98 PASS signalingState initial value | 96 PASS signalingState initial value |
99 PASS iceGatheringState initial value | 97 PASS iceGatheringState initial value |
100 PASS iceConnectionState initial value | 98 PASS iceConnectionState initial value |
101 FAIL connectionState initial value assert_equals: expected (string) "new" but go
t (undefined) undefined | 99 FAIL connectionState initial value assert_equals: expected (string) "new" but go
t (undefined) undefined |
102 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null
but got (undefined) undefined | 100 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null
but got (undefined) undefined |
103 Harness: the test ran to completion. | 101 Harness: the test ran to completion. |
104 | 102 |
OLD | NEW |