mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -5,11 +5,11 @@
|
|||
// https://w3c.github.io/mediacapture-main/#dom-mediastream
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor,
|
||||
Constructor(MediaStream stream),
|
||||
Constructor(sequence<MediaStreamTrack> tracks),
|
||||
Pref="dom.webrtc.enabled"]
|
||||
Pref="dom.webrtc.enabled"]
|
||||
interface MediaStream : EventTarget {
|
||||
[Throws] constructor();
|
||||
[Throws] constructor(MediaStream stream);
|
||||
[Throws] constructor(sequence<MediaStreamTrack> tracks);
|
||||
// readonly attribute DOMString id;
|
||||
sequence<MediaStreamTrack> getAudioTracks();
|
||||
sequence<MediaStreamTrack> getVideoTracks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue