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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-expected.txt

Issue 1644553002: Constructing an RTCPeerConnection with expired certificates should throw an exception. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase /w master. Updated test to generate expired certificate and verify exception is thrown Created 4 years, 8 months 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: Unknown constraint named invalid rejected 1 CONSOLE WARNING: Unknown constraint named invalid rejected
2 CONSOLE WARNING: Unknown constraint named valid_but_unsupported_1 rejected 2 CONSOLE WARNING: Unknown constraint named valid_but_unsupported_1 rejected
3 CONSOLE WARNING: Unknown constraint named valid_but_unsupported_1 rejected 3 CONSOLE WARNING: Unknown constraint named valid_but_unsupported_1 rejected
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); did not throw exception. 47 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); did not throw exception.
48 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti on TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints obj ect.. 48 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti on TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints obj ect..
49 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o bject.. 49 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_and_supported_2:1, mandatory:{vali d_and_supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerC onnection': Malformed constraints object.. 50 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({iceServers:[], certificates:null}); did not th row exception. 51 PASS new webkitRTCPeerConnection({iceServers:[], certificates:null}); did not th row exception.
52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}); did not thro w exception. 52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}); did not thro w exception.
53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R TCCertificate>. 53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R TCCertificate>.
54 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R TCCertificate>. 54 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R TCCertificate>.
55 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did not throw exception. 55 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did not throw exception.
56 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null ); did not throw exception. 56 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null ); did not throw exception.
57 PASS certExpired.expires <= new Date().getTime() is true
58 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certExpired]}, nu ll); threw exception InvalidStateError: Failed to construct 'RTCPeerConnection': Expired certificate(s)..
57 PASS successfullyParsed is true 59 PASS successfullyParsed is true
58 60
59 TEST COMPLETE 61 TEST COMPLETE
60 62
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698