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

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

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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: Failed to execute 'Constructor' on 'RTCPeerConnection': 1 argument required, but only 0 present..
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 TypeMis matchError: The type of an object was incompatible with the expected type of the parameter associated to the object.. 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 TypeM ismatchError: The type of an object was incompatible with the expected type of t he parameter associated to the object.. 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 TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object.. 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 TypeM ismatchError: The type of an object was incompatible with the expected type of t he parameter associated to the object.. 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..
(...skipping 10 matching lines...) Expand all
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.. 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 TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the obje ct.. 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 NotSupportedError: The implementation did not support the requested type of ob ject or operation.. 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 TypeMismatchError: The type of an object was incompatible with the expected t ype of the parameter associated to the object.. 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 TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object.. 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 TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the obje ct.. 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
« no previous file with comments | « LayoutTests/fast/js/select-options-remove-expected.txt ('k') | LayoutTests/fast/mediastream/argument-types-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698