Update web-platform-tests to revision f1e1bd6bfa544af8059ff8ef79d622281f9ec0a8

This commit is contained in:
WPT Sync Bot 2019-10-01 10:52:57 +00:00
parent 1b6715158d
commit 38ab56be1a
64 changed files with 5155 additions and 165 deletions

View file

@ -0,0 +1,24 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['webrtc-identity'],
['webrtc', 'mediacapture-streams', 'html', 'dom'],
async idlArray => {
idlArray.add_objects({
RTCPeerConnection: [`new RTCPeerConnection()`],
RTCIdentityAssertion: [`new RTCIdentityAssertion('idp', 'name')`],
MediaStreamTrack: ['track'],
// TODO: RTCIdentityProviderGlobalScope
// TODO: RTCIdentityProviderRegistrar
});
try {
self.track = await navigator.mediaDevices
.getUserMedia({audio: true})
.then(m => m.getTracks()[0]);
} catch (e) {}
}
);