mirror of
https://github.com/servo/servo.git
synced 2025-08-21 05:15:33 +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
|
@ -3,6 +3,7 @@
|
|||
<title>RTCPeerConnection addTrack does not deadlock</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="RTCPeerConnection-helper.js"></script>
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
|
@ -12,7 +13,7 @@
|
|||
promise_test(async t => {
|
||||
const pc1 = new RTCPeerConnection();
|
||||
t.add_cleanup(() => pc1.close());
|
||||
const stream = await navigator.mediaDevices.getUserMedia(
|
||||
const stream = await getNoiseStream(
|
||||
{audio: false, video: true});
|
||||
t.add_cleanup(() => stream.getTracks().forEach(track => track.stop()));
|
||||
const videoTrack = stream.getVideoTracks()[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue