OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description("Tests the RTCPeerConnection lifetime."); | 8 description("Tests the RTCPeerConnection lifetime."); |
9 | 9 |
10 // This test times out if the Peer connection object is garbage collected. | 10 // This test times out if the Peer connection object is garbage collected. |
(...skipping 20 matching lines...) Expand all Loading... |
31 dc = pc.createDataChannel("label"); | 31 dc = pc.createDataChannel("label"); |
32 dc.onopen = dataChannelOpen; | 32 dc.onopen = dataChannelOpen; |
33 } | 33 } |
34 | 34 |
35 createPeerConnection(); | 35 createPeerConnection(); |
36 gc(); | 36 gc(); |
37 | 37 |
38 window.jsTestIsAsync = true; | 38 window.jsTestIsAsync = true; |
39 window.successfullyParsed = true; | 39 window.successfullyParsed = true; |
40 </script> | 40 </script> |
41 <script src="../js/resources/js-test-post.js"></script> | |
42 </body> | 41 </body> |
43 </html> | 42 </html> |
OLD | NEW |