Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt

Issue 2444323002: Throw InvalidAccessError for expired RTCCertificate (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 }" did not throw 77 }" did not throw
78 PASS new RTCPeerConnection({ certificates: null }) 78 PASS new RTCPeerConnection({ certificates: null })
79 PASS new RTCPeerConnection({ certificates: undefined }) 79 PASS new RTCPeerConnection({ certificates: undefined })
80 PASS new RTCPeerConnection({ certificates: [] }) 80 PASS new RTCPeerConnection({ certificates: [] })
81 PASS new RTCPeerConnection({ certificates: [null] }) 81 PASS new RTCPeerConnection({ certificates: [null] })
82 PASS new RTCPeerConnection({ certificates: [undefined] }) 82 PASS new RTCPeerConnection({ certificates: [undefined] })
83 FAIL new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows }) assert_thro ws: function "function () { 83 FAIL new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows }) assert_thro ws: function "function () {
84 eval(expr); 84 eval(expr);
85 }" did not throw 85 }" did not throw
86 PASS new RTCPeerConnection({ certificates: [certificate] }) 86 PASS new RTCPeerConnection({ certificates: [certificate] })
87 FAIL new RTCPeerConnection({ certificates: [expiredCertificate] }) assert_throws : function "function () { 87 PASS new RTCPeerConnection({ certificates: [expiredCertificate] })
88 new RTCPeerConnection({ certificates: [certificate] });
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
90 PASS localDescription initial value 88 PASS localDescription initial value
91 FAIL currentLocalDescription initial value assert_equals: expected (object) null but got (undefined) undefined 89 FAIL currentLocalDescription 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 90 FAIL pendingLocalDescription initial value assert_equals: expected (object) null but got (undefined) undefined
93 PASS remoteDescription initial value 91 PASS remoteDescription initial value
94 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined 92 FAIL currentRemoteDescription 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 93 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined
96 PASS signalingState initial value 94 PASS signalingState initial value
97 PASS iceGatheringState initial value 95 PASS iceGatheringState initial value
98 PASS iceConnectionState initial value 96 PASS iceConnectionState initial value
99 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined 97 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined
100 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined 98 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined
101 Harness: the test ran to completion. 99 Harness: the test ran to completion.
102 100
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698