summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/audio-output/idlharness.https.window.js
blob: d7cdbd076833481b53f35b26d5ee016fd70c4111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/mediacapture-output/

'use strict';

idl_test(
  ['audio-output'],
  ['mediacapture-streams', 'html', 'dom'],
  idl_array => {
    self.audio = document.createElement('audio');
    self.video = document.createElement('video');
    idl_array.add_objects({
      HTMLAudioElement: ['audio'],
      HTMLVideoElement: ['video'],
      MediaDevices: ['navigator.mediaDevices'],
    });
  }
);