mirror of
https://github.com/servo/servo.git
synced 2025-09-09 14:38:21 +01:00
Update web-platform-tests to revision 0f0b7a7e353421b600ee555bf354d3a98bb603ae
This commit is contained in:
parent
363073568e
commit
71dcf37d55
175 changed files with 2749 additions and 678 deletions
|
@ -35,6 +35,8 @@ const j = obj => JSON.stringify(obj);
|
|||
{video: {height: {exact: 240}}},
|
||||
{video: {frameRate: {min: 4}}},
|
||||
{video: {frameRate: {exact: 4}}},
|
||||
{audio: true},
|
||||
{video: false, audio: true},
|
||||
].forEach(constraints => promise_test(async t => {
|
||||
try {
|
||||
stopTracks(await navigator.mediaDevices.getDisplayMedia(constraints));
|
||||
|
@ -47,7 +49,6 @@ const j = obj => JSON.stringify(obj);
|
|||
|
||||
[
|
||||
{video: true, audio: true},
|
||||
{audio: true},
|
||||
].forEach(constraints => promise_test(async t => {
|
||||
const stream = await navigator.mediaDevices.getDisplayMedia(constraints);
|
||||
t.add_cleanup(() => stopTracks(stream));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue