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

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

Issue 2451763002: Require username and credential for turn/turns (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.
11 PASS new webkitRTCPeerConnection({}); did not throw exception. 11 PASS new webkitRTCPeerConnection({}); did not throw exception.
12 PASS new webkitRTCPeerConnection(); did not throw exception. 12 PASS new webkitRTCPeerConnection(); did not throw exception.
13 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Failed to const ruct 'RTCPeerConnection': parameter 1 ('configuration') is not an object.. 13 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Failed to const ruct 'RTCPeerConnection': parameter 1 ('configuration') is not an object..
14 PASS new webkitRTCPeerConnection({iceServers:[]}); did not throw exception. 14 PASS new webkitRTCPeerConnection({iceServers:[]}); did not throw exception.
15 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not t hrow exception. 15 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not t hrow exception.
16 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x '}]}); did not throw exception. 16 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', credential:'x'}]}); did not throw exception.
17 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x '},{url:'stun:bar.com'}]}); did not throw exception. 17 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', credential:'x'},{url:'stun:bar.com'}]}); did not throw exception.
18 PASS new webkitRTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw exception. 18 PASS new webkitRTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw exception.
19 PASS new webkitRTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.c om']}]}); did not throw exception. 19 PASS new webkitRTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.c om']}]}); threw exception InvalidAccessError: Failed to construct 'RTCPeerConnec tion': Both username and credential are required when the URL scheme is "turn" o r "turns"..
20 PASS new webkitRTCPeerConnection({fooServers:[]}); did not throw exception. 20 PASS new webkitRTCPeerConnection({fooServers:[]}); did not throw exception.
21 PASS new webkitRTCPeerConnection({iceServers:true}); threw exception TypeError: Failed to construct 'RTCPeerConnection': The value provided is neither an array, nor does it have indexed properties.. 21 PASS new webkitRTCPeerConnection({iceServers:true}); threw exception TypeError: Failed to construct 'RTCPeerConnection': The value provided is neither an array, nor does it have indexed properties..
22 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeEr ror: Failed to construct 'RTCPeerConnection': cannot convert to dictionary.. 22 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeEr ror: Failed to construct 'RTCPeerConnection': cannot convert to dictionary..
23 PASS new webkitRTCPeerConnection({iceServers:[{}]}); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer. 23 PASS new webkitRTCPeerConnection({iceServers:[{}]}); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer.
24 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception Sy ntaxError: Failed to construct 'RTCPeerConnection': Unsupported URL "foo". URL s cheme must be "stun", "turn" or "turns".. 24 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception Sy ntaxError: Failed to construct 'RTCPeerConnection': Unsupported URL "foo". URL s cheme must be "stun", "turn" or "turns"..
25 PASS new webkitRTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); thr ew exception SyntaxError: Failed to construct 'RTCPeerConnection': Unsupported U RL "1". URL scheme must be "stun", "turn" or "turns".. 25 PASS new webkitRTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); thr ew exception SyntaxError: Failed to construct 'RTCPeerConnection': Unsupported U RL "1". URL scheme must be "stun", "turn" or "turns"..
26 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'none'}); did not throw exception. 26 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'none'}); did not throw exception.
27 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'relay'}); did no t throw exception. 27 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'relay'}); did no t throw exception.
28 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'all'}); did not throw exception. 28 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'all'}); did not throw exception.
29 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'foo'}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': The provided value ' foo' is not a valid enum value of type RTCIceTransports.. 29 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'foo'}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': The provided value ' foo' is not a valid enum value of type RTCIceTransports..
(...skipping 25 matching lines...) Expand all
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 InvalidAccessError: 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

Powered by Google App Engine
This is Rietveld 408576698