OLD | NEW |
1 | 1 |
2 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 2 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <script src="../../resources/js-test.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 description("Tests the RTCPeerConnection stats interface."); | 9 description("Tests the RTCPeerConnection stats interface."); |
10 | 10 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 shouldNotThrow('pc.getStats(statsHandler4, 42)'); | 82 shouldNotThrow('pc.getStats(statsHandler4, 42)'); |
83 } | 83 } |
84 | 84 |
85 function statsHandler4(status) { | 85 function statsHandler4(status) { |
86 testPassed("statsHandler4 was called"); | 86 testPassed("statsHandler4 was called"); |
87 verifyStats(status); | 87 verifyStats(status); |
88 finishJSTest(); | 88 finishJSTest(); |
89 } | 89 } |
90 | 90 |
91 var startTime = new Date().getTime(); | 91 var startTime = new Date().getTime(); |
92 shouldNotThrow('pc = new webkitRTCPeerConnection(null)'); | 92 shouldNotThrow('pc = new RTCPeerConnection()'); |
93 shouldNotThrow('pc.getStats(statsHandler1)'); | 93 shouldNotThrow('pc.getStats(statsHandler1)'); |
94 | 94 |
95 window.jsTestIsAsync = true; | 95 window.jsTestIsAsync = true; |
96 window.successfullyParsed = true; | 96 window.successfullyParsed = true; |
97 </script> | 97 </script> |
98 </body> | 98 </body> |
99 </html> | 99 </html> |
OLD | NEW |