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

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

Issue 23440058: Improve generated TypeError exception messages in bindings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 JSEP PeerConnection related constructors. 1 Tests the JSEP PeerConnection related constructors.
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 typeof webkitRTCPeerConnection === 'function' is true 6 PASS typeof webkitRTCPeerConnection === 'function' is true
7 PASS typeof RTCSessionDescription === 'function' is true 7 PASS typeof RTCSessionDescription === 'function' is true
8 PASS typeof RTCIceCandidate === 'function' is true 8 PASS typeof RTCIceCandidate === 'function' is true
9 PASS webkitRTCPeerConnection() threw exception TypeError: DOM object constructor cannot be called as a function.. 9 PASS webkitRTCPeerConnection() threw exception TypeError: Failed to construct 'R TCPeerConnection': Please use the 'new' operator, this DOM object constructor ca nnot be called as a function..
10 PASS RTCSessionDescription() threw exception TypeError: DOM object constructor c annot be called as a function.. 10 PASS RTCSessionDescription() threw exception TypeError: Failed to construct 'RTC SessionDescription': Please use the 'new' operator, this DOM object constructor cannot be called as a function..
11 PASS RTCIceCandidate() threw exception TypeError: DOM object constructor cannot be called as a function.. 11 PASS RTCIceCandidate() threw exception TypeError: Failed to construct 'RTCIceCan didate': Please use the 'new' operator, this DOM object constructor cannot be ca lled as a function..
12 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun://foobar.com:12345'}]}, null); did not throw exception. 12 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun://foobar.com:12345'}]}, null); did not throw exception.
13 PASS new RTCSessionDescription({type:'offer',sdp:'foobar'}); did not throw excep tion. 13 PASS new RTCSessionDescription({type:'offer',sdp:'foobar'}); did not throw excep tion.
14 PASS new RTCIceCandidate({candidate:'foo'}); did not throw exception. 14 PASS new RTCIceCandidate({candidate:'foo'}); did not throw exception.
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/call-a-constructor-as-a-function-expected.txt ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698