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

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

Issue 329093002: Allow PeerConnection to be garbage collected after close(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Code review. Created 6 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 stats interface. 1 Tests the RTCPeerConnection stats interface.
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 pc = new webkitRTCPeerConnection(null) did not throw exception. 6 PASS pc = new webkitRTCPeerConnection(null) did not throw exception.
7 PASS pc.getStats(statsHandler1) did not throw exception. 7 PASS pc.getStats(statsHandler1) did not throw exception.
8 PASS statsHandler1 was called 8 PASS statsHandler1 was called
9 PASS status is non-null. 9 PASS status is non-null.
10 PASS result.length is 0 10 PASS result.length is 0
11 PASS getUserMedia({audio:true, video:true}, gotStream) did not throw exception. 11 PASS getUserMedia({audio:true, video:true}, gotStream) did not throw exception.
12 PASS Got a stream. 12 PASS Got a stream.
13 PASS pc.getStats(statsHandler2) did not throw exception. 13 PASS pc.getStats(statsHandler2) did not throw exception.
14 PASS statsHandler2 was called 14 PASS statsHandler2 was called
15 PASS result.length is >= 2 15 PASS result.length is >= 2
16 PASS timediff is >= 0 16 PASS timediff is >= 0
17 PASS local.names().length is >= 1 17 PASS local.names().length is >= 1
18 PASS local.names().indexOf("type") is >= 0 18 PASS local.names().indexOf("type") is >= 0
19 PASS local.stat("type") is "audio" 19 PASS local.stat("type") is "audio"
20 PASS timediff is >= 0 20 PASS timediff is >= 0
21 PASS res.id is non-null. 21 PASS res.id is non-null.
22 PASS res.type is non-null. 22 PASS res.type is non-null.
23 PASS res.names().length is >= 1 23 PASS res.names().length is >= 1
24 PASS res.names().indexOf("type") is >= 0 24 PASS res.names().indexOf("type") is >= 0
25 PASS res.stat("type") is "audio" 25 PASS res.stat("type") is "audio"
26 PASS status_g.namedItem(res.id) is non-null. 26 PASS status_g.namedItem(res.id) is non-null.
27 PASS status_g[res.id] is non-null. 27 PASS status_g[res.id] is non-null.
28 PASS pc.close() did not throw exception.
29 PASS pc.getStats(statsHandler3) did not throw exception.
30 PASS statsHandler3 was called
31 PASS result.length is >= 2
32 PASS timediff is >= 0
33 PASS local.names().length is >= 1
34 PASS local.names().indexOf("type") is >= 0
35 PASS local.stat("type") is "audio"
36 PASS timediff is >= 0
37 PASS res.id is non-null.
38 PASS res.type is non-null.
39 PASS res.names().length is >= 1
40 PASS res.names().indexOf("type") is >= 0
41 PASS res.stat("type") is "audio"
42 PASS status_g.namedItem(res.id) is non-null.
43 PASS status_g[res.id] is non-null.
28 PASS successfullyParsed is true 44 PASS successfullyParsed is true
29 45
30 TEST COMPLETE 46 TEST COMPLETE
31 47
OLDNEW
« no previous file with comments | « LayoutTests/fast/mediastream/RTCPeerConnection-stats.html ('k') | Source/modules/mediastream/RTCPeerConnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698