mirror of
https://github.com/servo/servo.git
synced 2025-08-30 09:38:19 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -78,10 +78,13 @@
|
|||
});
|
||||
}, 'getStats() with track added via addTrack should succeed');
|
||||
|
||||
promise_test(t => {
|
||||
promise_test(async t => {
|
||||
const pc = new RTCPeerConnection();
|
||||
t.add_cleanup(() => pc.close());
|
||||
const track = generateMediaStreamTrack('audio');
|
||||
|
||||
const stream = await navigator.mediaDevices.getUserMedia({audio: true});
|
||||
t.add_cleanup(() => stream.getTracks().forEach(track => track.stop()));
|
||||
const [track] = stream.getTracks();
|
||||
pc.addTransceiver(track);
|
||||
|
||||
return pc.getStats(track);
|
||||
|
@ -238,7 +241,7 @@
|
|||
|
||||
const dataChannel = pc1.createDataChannel('test-channel');
|
||||
|
||||
return navigator.mediaDevices.getUserMedia({
|
||||
return getNoiseStream({
|
||||
audio: true,
|
||||
video: true
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue