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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
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: Not enough argume nts. 10 PASS new webkitRTCPeerConnection(); threw exception TypeError: Not enough argume nts.
11 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Not an object.. 11 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Not an object..
12 PASS new webkitRTCPeerConnection(null, ''); threw exception TypeError: Not an ob ject.. 12 PASS new webkitRTCPeerConnection(null, ''); threw exception TypeError: Not an ob ject..
13 PASS new webkitRTCPeerConnection({iceServers:[]}, null); did not throw exception . 13 PASS new webkitRTCPeerConnection({iceServers:[]}, null); did not throw exception .
14 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}, null); did not throw exception. 14 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}, null); did not throw exception.
15 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x '}]}, null); did not throw exception. 15 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x '}]}, null); did not throw exception.
16 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x '},{url:'stun:bar.com'}]}, null); did not throw exception. 16 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x '},{url:'stun:bar.com'}]}, null); did not throw exception.
17 PASS new webkitRTCPeerConnection({fooServers:[]}, null); threw exception Error: TypeMismatchError: DOM Exception 17. 17 PASS new webkitRTCPeerConnection({fooServers:[]}, null); threw exception TypeMis matchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
18 PASS new webkitRTCPeerConnection({iceServers:true}, null); threw exception Error : TypeMismatchError: DOM Exception 17. 18 PASS new webkitRTCPeerConnection({iceServers:true}, null); threw exception TypeM ismatchError: The type of an object was incompatible with the expected type of t he parameter associated to the object..
19 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}, null); threw exception Error: TypeMismatchError: DOM Exception 17. 19 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}, null); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
20 PASS new webkitRTCPeerConnection({iceServers:[{}]}, null); threw exception Error : TypeMismatchError: DOM Exception 17. 20 PASS new webkitRTCPeerConnection({iceServers:[{}]}, null); threw exception TypeM ismatchError: The type of an object was incompatible with the expected type of t he parameter associated to the object..
21 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except ion Error: TypeMismatchError: DOM Exception 17. 21 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except ion TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
22 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d id not throw exception. 22 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d id not throw exception.
23 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali d_and_supported_2:1}}); did not throw exception. 23 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali d_and_supported_2:1}}); did not throw exception.
24 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]}); did not throw exception. 24 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]}); did not throw exception.
25 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val id_and_supported_2:0}]}); did not throw exception. 25 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val id_and_supported_2:0}]}); did not throw exception.
26 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v alid_but_unsupported_2:0}]}); did not throw exception. 26 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v alid_but_unsupported_2:0}]}); did not throw exception.
27 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}}); threw exception Error: NotSupportedError: DOM Exception 9. 27 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}}); threw exception NotSupportedError: The implementation did not support the reques ted type of object or operation..
28 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception Error: NotSupportedError: DOM Exception 9. 28 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception NotSupportedError: The implementation did not support the requested type of obj ect or operation..
29 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}}); threw exception Error: NotSupportedError: DOM Exception 9. 29 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}}); threw exception NotSupportedError: The implementation did not support the reque sted type of object or operation..
30 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va lid_and_supported_1:1}}); threw exception Error: NotSupportedError: DOM Exceptio n 9. 30 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va lid_and_supported_1:1}}); threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
31 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th rew exception Error: TypeMismatchError: DOM Exception 17. 31 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th rew exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
32 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid _and_supported_2:0}]}); threw exception Error: TypeMismatchError: DOM Exception 17. 32 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid _and_supported_2:0}]}); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the obje ct..
33 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio n Error: NotSupportedError: DOM Exception 9. 33 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio n NotSupportedError: The implementation did not support the requested type of ob ject or operation..
34 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti on Error: TypeMismatchError: DOM Exception 17. 34 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti on TypeMismatchError: The type of an object was incompatible with the expected t ype of the parameter associated to the object..
35 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep tion Error: TypeMismatchError: DOM Exception 17. 35 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep tion TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
36 PASS new webkitRTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{vali d_and_supported_1:1}}); threw exception Error: TypeMismatchError: DOM Exception 17. 36 PASS new webkitRTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{vali d_and_supported_1:1}}); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the obje ct..
37 PASS successfullyParsed is true 37 PASS successfullyParsed is true
38 38
39 TEST COMPLETE 39 TEST COMPLETE
40 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698