Skip to content

Commit 704c167

Browse files
committed
Annotate encoder/decoders with EventTarget on ondequeue events.
Seems to be an oversight from when ondequeue events were added. Allows the idlharness.js test to start passing.
1 parent 601c146 commit 704c167

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.src.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256

257257
<xmp class='idl'>
258258
[Exposed=(Window,DedicatedWorker), SecureContext]
259-
interface AudioDecoder {
259+
interface AudioDecoder : EventTarget {
260260
constructor(AudioDecoderInit init);
261261

262262
readonly attribute CodecState state;
@@ -583,7 +583,7 @@
583583

584584
<xmp class='idl'>
585585
[Exposed=(Window,DedicatedWorker), SecureContext]
586-
interface VideoDecoder {
586+
interface VideoDecoder : EventTarget {
587587
constructor(VideoDecoderInit init);
588588

589589
readonly attribute CodecState state;
@@ -937,7 +937,7 @@
937937

938938
<xmp class='idl'>
939939
[Exposed=(Window,DedicatedWorker), SecureContext]
940-
interface AudioEncoder {
940+
interface AudioEncoder : EventTarget {
941941
constructor(AudioEncoderInit init);
942942

943943
readonly attribute CodecState state;
@@ -1310,7 +1310,7 @@
13101310

13111311
<xmp class='idl'>
13121312
[Exposed=(Window,DedicatedWorker), SecureContext]
1313-
interface VideoEncoder {
1313+
interface VideoEncoder : EventTarget {
13141314
constructor(VideoEncoderInit init);
13151315

13161316
readonly attribute CodecState state;

0 commit comments

Comments
 (0)