Return a promise from HTMLMediaElement::Play

This commit is contained in:
Anthony Ramine 2017-09-21 00:12:28 +02:00
parent 6c5fe041d7
commit 49dd04cd8b
3 changed files with 201 additions and 97 deletions

View file

@ -50,7 +50,7 @@ interface HTMLMediaElement : HTMLElement {
attribute boolean autoplay;
// [CEReactions]
// attribute boolean loop;
void play();
Promise<void> play();
void pause();
// media controller