mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 934425 - Add SinkId in webidl for HTMLMediaElement. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D5873 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
6e1c6f8946
commit
79f5e13243
@ -220,6 +220,14 @@ partial interface HTMLMediaElement {
|
||||
boolean hasSuspendTaint();
|
||||
};
|
||||
|
||||
/* Audio Output Devices API */
|
||||
partial interface HTMLMediaElement {
|
||||
[Pref="media.setsinkid.enabled"]
|
||||
readonly attribute DOMString sinkId;
|
||||
[Throws, Pref="media.setsinkid.enabled"]
|
||||
Promise<void> setSinkId(DOMString sinkId);
|
||||
};
|
||||
|
||||
/*
|
||||
* API that exposes whether a call to HTMLMediaElement.play() would be
|
||||
* blocked by autoplay policies; whether the promise returned by play()
|
||||
|
Loading…
Reference in New Issue
Block a user