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

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

Issue 1116253004: Add RtcpMuxPolicy to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 Tests the RTCPeerConnection constructor. 1 Tests the RTCPeerConnection constructor.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new webkitRTCPeerConnection(null); did not throw exception. 6 PASS new webkitRTCPeerConnection(null); did not throw exception.
7 PASS new webkitRTCPeerConnection(null, null); did not throw exception. 7 PASS new webkitRTCPeerConnection(null, null); did not throw exception.
8 PASS new webkitRTCPeerConnection(undefined); did not throw exception. 8 PASS new webkitRTCPeerConnection(undefined); did not throw exception.
9 PASS new webkitRTCPeerConnection(undefined, undefined); did not throw exception. 9 PASS new webkitRTCPeerConnection(undefined, undefined); did not throw exception.
10 PASS new webkitRTCPeerConnection(); threw exception TypeError: Failed to constru ct 'RTCPeerConnection': 1 argument required, but only 0 present.. 10 PASS new webkitRTCPeerConnection(); threw exception TypeError: Failed to constru ct 'RTCPeerConnection': 1 argument required, but only 0 present..
(...skipping 12 matching lines...) Expand all
23 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except ion TypeError: Failed to construct 'RTCPeerConnection': Malformed URL. 23 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except ion TypeError: Failed to construct 'RTCPeerConnection': Malformed URL.
24 PASS new webkitRTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}, null ); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed URL. 24 PASS new webkitRTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}, null ); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed URL.
25 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'none'}, null); d id not throw exception. 25 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'none'}, null); d id not throw exception.
26 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'relay'}, null); did not throw exception. 26 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'relay'}, null); did not throw exception.
27 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'all'}, null); di d not throw exception. 27 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'all'}, null); di d not throw exception.
28 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'foo'}, null); th rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCI ceTransports. 28 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'foo'}, null); th rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCI ceTransports.
29 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}, null) ; did not throw exception. 29 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}, null) ; did not throw exception.
30 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-bundle'}, nul l); did not throw exception. 30 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-bundle'}, nul l); did not throw exception.
31 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-compat'}, nul l); did not throw exception. 31 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-compat'}, nul l); did not throw exception.
32 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'foo'}, null); thr ew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCBu ndlePolicy. 32 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'foo'}, null); thr ew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCBu ndlePolicy.
33 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'negotiate'}, nul l); did not throw exception.
34 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'require'}, null) ; did not throw exception.
35 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'foo'}, null); th rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCR tcpMuxPolicy.
33 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d id not throw exception. 36 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d id not throw exception.
34 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali d_and_supported_2:1}}); did not throw exception. 37 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali d_and_supported_2:1}}); did not throw exception.
35 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]}); did not throw exception. 38 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]}); did not throw exception.
36 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val id_and_supported_2:0}]}); did not throw exception. 39 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val id_and_supported_2:0}]}); did not throw exception.
37 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v alid_but_unsupported_2:0}]}); did not throw exception. 40 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v alid_but_unsupported_2:0}]}); did not throw exception.
38 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fail ed to initialize native PeerConnection.. 41 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fail ed to initialize native PeerConnection..
39 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initializ e native PeerConnection.. 42 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initializ e native PeerConnection..
40 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fai led to initialize native PeerConnection.. 43 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fai led to initialize native PeerConnection..
41 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va lid_and_supported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initialize native PeerConnection.. 44 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va lid_and_supported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initialize native PeerConnection..
42 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed cons traints object.. 45 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed cons traints object..
43 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid _and_supported_2:0}]}); threw exception TypeError: Failed to construct 'RTCPeerC onnection': Malformed constraints object.. 46 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid _and_supported_2:0}]}); threw exception TypeError: Failed to construct 'RTCPeerC onnection': Malformed constraints object..
44 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio n NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initiali ze native PeerConnection.. 47 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio n NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initiali ze native PeerConnection..
45 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..
46 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..
47 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..
48 PASS successfullyParsed is true 51 PASS successfullyParsed is true
49 52
50 TEST COMPLETE 53 TEST COMPLETE
51 54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698