mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Return a promise from HTMLMediaElement::Play
This commit is contained in:
parent
6c5fe041d7
commit
49dd04cd8b
3 changed files with 201 additions and 97 deletions
|
@ -50,7 +50,7 @@ interface HTMLMediaElement : HTMLElement {
|
|||
attribute boolean autoplay;
|
||||
// [CEReactions]
|
||||
// attribute boolean loop;
|
||||
void play();
|
||||
Promise<void> play();
|
||||
void pause();
|
||||
|
||||
// media controller
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue