Skip to content

Commit

Permalink
Merge pull request w3c#229 from w3c/fix-webidl
Browse files Browse the repository at this point in the history
Fix WebIDL
  • Loading branch information
chcunningham authored May 6, 2021
2 parents ed5ae3c + d2ab661 commit 95090a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -2719,7 +2719,7 @@
readonly attribute Promise<undefined> completed;
readonly attribute ImageTrackList tracks;

Promise<ImageDecodeResult> decode(optional ImageDecodeOptions options);
Promise<ImageDecodeResult> decode(optional ImageDecodeOptions options = {});
undefined reset();
undefined close();

Expand Down Expand Up @@ -3345,6 +3345,7 @@
----------------------------------------------------
<pre class='idl'>
<xmp>
[Exposed=(Window,DedicatedWorker)]
interface ImageTrackList {
getter ImageTrack (unsigned long index);

Expand Down Expand Up @@ -3394,6 +3395,7 @@
--------------------------------------------
<pre class='idl'>
<xmp>
[Exposed=(Window,DedicatedWorker)]
interface ImageTrack : EventTarget {
readonly attribute boolean animated;
readonly attribute unsigned long frameCount;
Expand Down

0 comments on commit 95090a9

Please sign in to comment.