diff options
author | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2022-01-05 03:39:33 +0100 |
---|---|---|
committer | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2022-01-05 03:39:33 +0100 |
commit | 52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca (patch) | |
tree | ff222506f529fb20f148b634161a10244fd2a7ec /components/script/dom/webidls/HTMLMediaElement.webidl | |
parent | 5df705a41f6c4c1f2ffeec257dfe0129ce5fa8e0 (diff) | |
download | servo-52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca.tar.gz servo-52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca.zip |
Convert Web IDL void to undefined
Fixes #27660
Diffstat (limited to 'components/script/dom/webidls/HTMLMediaElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLMediaElement.webidl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/HTMLMediaElement.webidl b/components/script/dom/webidls/HTMLMediaElement.webidl index fd658913ca5..a2c7866a3fe 100644 --- a/components/script/dom/webidls/HTMLMediaElement.webidl +++ b/components/script/dom/webidls/HTMLMediaElement.webidl @@ -24,7 +24,7 @@ interface HTMLMediaElement : HTMLElement { readonly attribute unsigned short networkState; [CEReactions] attribute DOMString preload; readonly attribute TimeRanges buffered; - void load(); + undefined load(); CanPlayTypeResult canPlayType(DOMString type); // ready state @@ -38,7 +38,7 @@ interface HTMLMediaElement : HTMLElement { // playback state attribute double currentTime; - void fastSeek(double time); + undefined fastSeek(double time); readonly attribute unrestricted double duration; // Date getStartDate(); readonly attribute boolean paused; @@ -49,8 +49,8 @@ interface HTMLMediaElement : HTMLElement { readonly attribute boolean ended; [CEReactions] attribute boolean autoplay; [CEReactions] attribute boolean loop; - Promise<void> play(); - void pause(); + Promise<undefined> play(); + undefined pause(); // controls [CEReactions] attribute boolean controls; |