OLD | NEW |
(Empty) | |
| 1 Tests the promise-based RTCPeerConnection.getStats function. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS pc = new webkitRTCPeerConnection(null) did not throw exception. |
| 7 PASS getUserMedia({audio:true, video:true}, gotStream) did not throw exception. |
| 8 PASS Got a stream. |
| 9 PASS selector = pc.getLocalStreams()[0].getVideoTracks()[0] did not throw except
ion. |
| 10 PASS selector is non-null. |
| 11 PASS pc.getStats(selector).then(onResolve, onReject1) did not throw exception. |
| 12 PASS pc.getStats(selector) was rejected. |
| 13 PASS pc.getStats().then(onResolve, onReject2) did not throw exception. |
| 14 PASS pc.getStats() was rejected. |
| 15 PASS successfullyParsed is true |
| 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |