gecko-dev/testing/web-platform/tests/audio-output/idlharness.https.window.js
Philip Jägenstedt 6d3e38b663 Bug 1576633 [wpt PR 18677] - Convert some tests to use idl_test, a=testonly
Automatic update from web-platform-tests
Convert some tests to use `idl_test` (#18677)

--

wpt-commits: a593c50f4371977e6df58ccbffedbdca8b3910f4
wpt-pr: 18677
2019-08-29 09:59:09 +00:00

19 lines
425 B
JavaScript

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// https://w3c.github.io/mediacapture-output/
'use strict';
idl_test(
['audio-output'],
['html', 'dom'],
idl_array => {
self.audio = document.createElement('audio');
self.video = document.createElement('video');
idl_array.add_objects({
HTMLAudioElement: ['audio'],
HTMLVideoElement: ['video']
});
}
);