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

Side by Side Diff: LayoutTests/fast/mediastream/RTCIceCandidate-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 RTCIceCandidate. 1 Tests RTCIceCandidate.
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 candidate = new RTCIceCandidate(initializer); did not throw exception. 6 PASS candidate = new RTCIceCandidate(initializer); did not throw exception.
7 PASS candidate.candidate is "foo" 7 PASS candidate.candidate is "foo"
8 PASS candidate.sdpMid is "bar" 8 PASS candidate.sdpMid is "bar"
9 PASS candidate.sdpMLineIndex is 6 9 PASS candidate.sdpMLineIndex is 6
10 PASS initializer = JSON.parse(JSON.stringify(candidate)); did not throw exceptio n. 10 PASS initializer = JSON.parse(JSON.stringify(candidate)); did not throw exceptio n.
11 PASS candidate = new RTCIceCandidate(initializer); did not throw exception. 11 PASS candidate = new RTCIceCandidate(initializer); did not throw exception.
12 PASS candidate.candidate is "foo" 12 PASS candidate.candidate is "foo"
13 PASS candidate.sdpMid is "bar" 13 PASS candidate.sdpMid is "bar"
14 PASS candidate.sdpMLineIndex is 6 14 PASS candidate.sdpMLineIndex is 6
15 PASS new RTCIceCandidate({}); threw exception Error: TypeMismatchError: DOM Exce ption 17. 15 PASS new RTCIceCandidate({}); threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to th e object..
16 PASS new RTCIceCandidate(5); threw exception TypeError: Not an object.. 16 PASS new RTCIceCandidate(5); threw exception TypeError: Not an object..
17 PASS new RTCIceCandidate("foobar"); threw exception TypeError: Not an object.. 17 PASS new RTCIceCandidate("foobar"); threw exception TypeError: Not an object..
18 PASS new RTCIceCandidate(candidate:""); threw exception SyntaxError: Unexpected token :. 18 PASS new RTCIceCandidate(candidate:""); threw exception SyntaxError: Unexpected token :.
19 PASS new RTCIceCandidate({candidate:"x"}); did not throw exception. 19 PASS new RTCIceCandidate({candidate:"x"}); did not throw exception.
20 PASS successfullyParsed is true 20 PASS successfullyParsed is true
21 21
22 TEST COMPLETE 22 TEST COMPLETE
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698