mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision 2dda7b8c10c7566fa6167a32b09c85d51baf2a85
This commit is contained in:
parent
25ebde78aa
commit
8edc7686ef
129 changed files with 5280 additions and 820 deletions
|
@ -0,0 +1,19 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
// META: script=/webrtc/RTCPeerConnection-helper.js
|
||||
|
||||
'use strict';
|
||||
|
||||
idl_test(
|
||||
['mst-content-hint'],
|
||||
['mediacapture-streams', 'dom'],
|
||||
async idl_array => {
|
||||
idl_array.add_objects({
|
||||
MediaStreamTrack: ['audioTrack', 'videoTrack'],
|
||||
});
|
||||
|
||||
const stream = await getNoiseStream({ audio: true, video: true });
|
||||
self.audioTrack = stream.getAudioTracks()[0];
|
||||
self.videoTrack = stream.getVideoTracks()[0];
|
||||
}
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue