blob: 59cd63e4bdf5db77f33cbee41681bba53cf64742 [file] [log] [blame]
Tests the RTCPeerConnection stats selector argument.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS pc = new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}) did not throw exception.
PASS navigator.mediaDevices.getUserMedia({audio:true, video:true}).then(gotStream, error) did not throw exception.
PASS Got a stream.
PASS statsHandler2 was called
PASS result.size is >= 1
PASS timestamp is >= startTime
FAIL local.type should be video. Was certificate.
PASS successfullyParsed is true
TEST COMPLETE