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

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

Issue 2810843002: bindings: Make the sequence conversion code more complaint with WebIDL. (Closed)
Patch Set: Adjust even more tests Created 3 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: line 1: The rtcpMuxPolicy option is being considered for remova l and may be removed no earlier than M60, around August 2017. If you depend on i t, please see https://www.chromestatus.com/features/5654810086866944 for more de tails. 1 CONSOLE WARNING: line 1: The rtcpMuxPolicy option is being considered for remova l and may be removed no earlier than M60, around August 2017. If you depend on i t, please see https://www.chromestatus.com/features/5654810086866944 for more de tails.
2 CONSOLE WARNING: line 1: Unknown constraint named invalid rejected 2 CONSOLE WARNING: line 1: Unknown constraint named invalid rejected
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 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject ed 4 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject ed
5 Tests the RTCPeerConnection constructor. 5 Tests the RTCPeerConnection constructor.
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 PASS webkitRTCPeerConnection is RTCPeerConnection 10 PASS webkitRTCPeerConnection is RTCPeerConnection
11 PASS new RTCPeerConnection(null); did not throw exception. 11 PASS new RTCPeerConnection(null); did not throw exception.
12 PASS new RTCPeerConnection(undefined); did not throw exception. 12 PASS new RTCPeerConnection(undefined); did not throw exception.
13 PASS new RTCPeerConnection({}); did not throw exception. 13 PASS new RTCPeerConnection({}); did not throw exception.
14 PASS new RTCPeerConnection(); did not throw exception. 14 PASS new RTCPeerConnection(); did not throw exception.
15 PASS new RTCPeerConnection(''); threw exception TypeError: Failed to construct ' RTCPeerConnection': parameter 1 ('configuration') is not an object.. 15 PASS new RTCPeerConnection(''); threw exception TypeError: Failed to construct ' RTCPeerConnection': parameter 1 ('configuration') is not an object..
16 PASS new RTCPeerConnection({iceServers:[]}); did not throw exception. 16 PASS new RTCPeerConnection({iceServers:[]}); did not throw exception.
17 PASS new RTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not throw e xception. 17 PASS new RTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not throw e xception.
18 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', crede ntial:'x'}]}); did not throw exception. 18 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', crede ntial:'x'}]}); did not throw exception.
19 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', crede ntial:'x'},{url:'stun:bar.com'}]}); did not throw exception. 19 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', crede ntial:'x'},{url:'stun:bar.com'}]}); did not throw exception.
20 PASS new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw exception. 20 PASS new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw exception.
21 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com'], username:'x', credential:'x'}]}); did not throw exception. 21 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com'], username:'x', credential:'x'}]}); did not throw exception.
22 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com']}] }); threw exception InvalidAccessError: Failed to construct 'RTCPeerConnection': Both username and credential are required when the URL scheme is "turn" or "tur ns".. 22 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com']}] }); threw exception InvalidAccessError: Failed to construct 'RTCPeerConnection': Both username and credential are required when the URL scheme is "turn" or "tur ns"..
23 PASS new RTCPeerConnection({fooServers:[]}); did not throw exception. 23 PASS new RTCPeerConnection({fooServers:[]}); did not throw exception.
24 PASS new RTCPeerConnection({iceServers:true}); threw exception TypeError: Failed to construct 'RTCPeerConnection': The value provided is neither an array, nor d oes it have indexed properties.. 24 PASS new RTCPeerConnection({iceServers:true}); threw exception TypeError: Failed to construct 'RTCPeerConnection': The provided value cannot be converted to a s equence..
25 PASS new RTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeError: F ailed to construct 'RTCPeerConnection': cannot convert to dictionary.. 25 PASS new RTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeError: F ailed to construct 'RTCPeerConnection': cannot convert to dictionary..
26 PASS new RTCPeerConnection({iceServers:[{}]}); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer. 26 PASS new RTCPeerConnection({iceServers:[{}]}); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer.
27 PASS new RTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception SyntaxEr ror: Failed to construct 'RTCPeerConnection': 'foo' is not a valid URL.. 27 PASS new RTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception SyntaxEr ror: Failed to construct 'RTCPeerConnection': 'foo' is not a valid URL..
28 PASS new RTCPeerConnection({iceServers:[{urls:'unsupported:scheme'}]}); threw ex ception SyntaxError: Failed to construct 'RTCPeerConnection': 'unsupported' is n ot one of the supported URL schemes 'stun', 'turn' or 'turns'.. 28 PASS new RTCPeerConnection({iceServers:[{urls:'unsupported:scheme'}]}); threw ex ception SyntaxError: Failed to construct 'RTCPeerConnection': 'unsupported' is n ot one of the supported URL schemes 'stun', 'turn' or 'turns'..
29 PASS new RTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); threw exc eption SyntaxError: Failed to construct 'RTCPeerConnection': '1' is not a valid URL.. 29 PASS new RTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); threw exc eption SyntaxError: Failed to construct 'RTCPeerConnection': '1' is not a valid URL..
30 PASS new RTCPeerConnection({iceServers:[], iceTransports:'none'}); did not throw exception. 30 PASS new RTCPeerConnection({iceServers:[], iceTransports:'none'}); did not throw exception.
31 PASS new RTCPeerConnection({iceServers:[], iceTransports:'relay'}); did not thro w exception. 31 PASS new RTCPeerConnection({iceServers:[], iceTransports:'relay'}); did not thro w exception.
32 PASS new RTCPeerConnection({iceServers:[], iceTransports:'all'}); did not throw exception. 32 PASS new RTCPeerConnection({iceServers:[], iceTransports:'all'}); did not throw exception.
33 PASS new RTCPeerConnection({iceServers:[], iceTransports:'foo'}); threw exceptio n TypeError: Failed to construct 'RTCPeerConnection': The provided value 'foo' i s not a valid enum value of type RTCIceTransportPolicy.. 33 PASS new RTCPeerConnection({iceServers:[], iceTransports:'foo'}); threw exceptio n TypeError: Failed to construct 'RTCPeerConnection': The provided value 'foo' i s not a valid enum value of type RTCIceTransportPolicy..
34 PASS new RTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}); did not th row exception. 34 PASS new RTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}); did not th row exception.
(...skipping 18 matching lines...) Expand all
53 PASS new RTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfia ble constraint valid_and_supported_1. 53 PASS new RTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfia ble constraint valid_and_supported_1.
54 PASS new RTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception NotSu pportedError: Failed to construct 'RTCPeerConnection': Unsatisfiable constraint invalid. 54 PASS new RTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception NotSu pportedError: Failed to construct 'RTCPeerConnection': Unsatisfiable constraint invalid.
55 PASS new RTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfi able constraint valid_but_unsupported_1. 55 PASS new RTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfi able constraint valid_but_unsupported_1.
56 PASS new RTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, valid_an d_supported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCP eerConnection': Unsatisfiable constraint valid_but_unsupported_1. 56 PASS new RTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, valid_an d_supported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCP eerConnection': Unsatisfiable constraint valid_but_unsupported_1.
57 PASS new RTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Malformed constraint s object.. 57 PASS new RTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); threw ex ception TypeError: Failed to construct 'RTCPeerConnection': Malformed constraint s object..
58 PASS new RTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid_and_s upported_2:0}]}); threw exception TypeError: Failed to construct 'RTCPeerConnect ion': Malformed constraints object.. 58 PASS new RTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid_and_s upported_2:0}]}); threw exception TypeError: Failed to construct 'RTCPeerConnect ion': Malformed constraints object..
59 PASS new RTCPeerConnection(null, {optional:[{invalid:0}]}); did not throw except ion. 59 PASS new RTCPeerConnection(null, {optional:[{invalid:0}]}); did not throw except ion.
60 PASS new RTCPeerConnection(null, {valid_and_supported_1:1}); threw exception Typ eError: Failed to construct 'RTCPeerConnection': Malformed constraints object.. 60 PASS new RTCPeerConnection(null, {valid_and_supported_1:1}); threw exception Typ eError: Failed to construct 'RTCPeerConnection': Malformed constraints object..
61 PASS new RTCPeerConnection(null, {valid_but_unsupported_1:1}); threw exception T ypeError: Failed to construct 'RTCPeerConnection': Malformed constraints object. . 61 PASS new RTCPeerConnection(null, {valid_but_unsupported_1:1}); threw exception T ypeError: Failed to construct 'RTCPeerConnection': Malformed constraints object. .
62 PASS new RTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{valid_and_ supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerConnect ion': Malformed constraints object.. 62 PASS new RTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{valid_and_ supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerConnect ion': Malformed constraints object..
63 PASS new RTCPeerConnection({iceServers:[], certificates:null}); threw exception TypeError: Failed to construct 'RTCPeerConnection': The value provided is neithe r an array, nor does it have indexed properties.. 63 PASS new RTCPeerConnection({iceServers:[], certificates:null}); threw exception TypeError: Failed to construct 'RTCPeerConnection': The provided value cannot be converted to a sequence..
64 PASS new RTCPeerConnection({iceServers:[], certificates:undefined}); did not thr ow exception. 64 PASS new RTCPeerConnection({iceServers:[], certificates:undefined}); did not thr ow exception.
65 PASS new RTCPeerConnection({iceServers:[], certificates:[]}); did not throw exce ption. 65 PASS new RTCPeerConnection({iceServers:[], certificates:[]}); did not throw exce ption.
66 PASS new RTCPeerConnection({iceServers:[], certificates:[null]}); threw exceptio n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type . 66 PASS new RTCPeerConnection({iceServers:[], certificates:[null]}); threw exceptio n TypeError: Failed to construct 'RTCPeerConnection': Failed to convert value to 'RTCCertificate'..
67 PASS new RTCPeerConnection({iceServers:[], certificates:[1337]}); threw exceptio n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type . 67 PASS new RTCPeerConnection({iceServers:[], certificates:[1337]}); threw exceptio n TypeError: Failed to construct 'RTCPeerConnection': Failed to convert value to 'RTCCertificate'..
68 PASS new RTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did n ot throw exception. 68 PASS new RTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did n ot throw exception.
69 PASS new RTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null); did not throw exception. 69 PASS new RTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null); did not throw exception.
70 PASS certExpired.expires <= new Date().getTime() is true 70 PASS certExpired.expires <= new Date().getTime() is true
71 PASS new RTCPeerConnection({iceServers:[], certificates:[certExpired]}, null); t hrew exception InvalidAccessError: Failed to construct 'RTCPeerConnection': Expi red certificate(s).. 71 PASS new RTCPeerConnection({iceServers:[], certificates:[certExpired]}, null); t hrew exception InvalidAccessError: Failed to construct 'RTCPeerConnection': Expi red certificate(s)..
72 PASS successfullyParsed is true 72 PASS successfullyParsed is true
73 73
74 TEST COMPLETE 74 TEST COMPLETE
75 75
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698