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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-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 CONSOLE WARNING: line 1: Unknown constraint named invalid rejected 1 CONSOLE WARNING: line 1: Unknown constraint named invalid rejected
2 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject ed 2 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject ed
3 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject ed 3 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject ed
4 Tests the RTCPeerConnection constructor. 4 Tests the RTCPeerConnection constructor.
5 5
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
7 7
8 8
9 PASS new webkitRTCPeerConnection(null); did not throw exception. 9 PASS new webkitRTCPeerConnection(null); did not throw exception.
10 PASS new webkitRTCPeerConnection(undefined); did not throw exception. 10 PASS new webkitRTCPeerConnection(undefined); did not throw exception.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o bject.. 50 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o bject..
51 PASS new webkitRTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{vali d_and_supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerC onnection': Malformed constraints object.. 51 PASS new webkitRTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{vali d_and_supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerC onnection': Malformed constraints object..
52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:null}); threw exce ption TypeError: Failed to construct 'RTCPeerConnection': The value provided is neither an array, nor does it have indexed properties.. 52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:null}); threw exce ption TypeError: Failed to construct 'RTCPeerConnection': The value provided is neither an array, nor does it have indexed properties..
53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:undefined}); did n ot throw exception. 53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:undefined}); did n ot throw exception.
54 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}); did not thro w exception. 54 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}); did not thro w exception.
55 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Invalid Array elemen t type. 55 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Invalid Array elemen t type.
56 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Invalid Array elemen t type. 56 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Invalid Array elemen t type.
57 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did not throw exception. 57 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did not throw exception.
58 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null ); did not throw exception. 58 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null ); did not throw exception.
59 PASS certExpired.expires <= new Date().getTime() is true 59 PASS certExpired.expires <= new Date().getTime() is true
60 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certExpired]}, nu ll); threw exception InvalidStateError: Failed to construct 'RTCPeerConnection': Expired certificate(s).. 60 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certExpired]}, nu ll); threw exception InvalidAccessError: Failed to construct 'RTCPeerConnection' : Expired certificate(s)..
61 PASS successfullyParsed is true 61 PASS successfullyParsed is true
62 62
63 TEST COMPLETE 63 TEST COMPLETE
64 64
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698