whatwg / dom

DOM Standard
https://dom.spec.whatwg.org/
Other
1.59k stars 296 forks source link

Expose Event, EventTarget to AudioWorklet #515

Closed hoch closed 7 years ago

hoch commented 7 years ago

cc: @domenic @annevk

Related issue from Web Audio API

The proposed change is:

[Constructor(DOMString type, optional EventInit eventInitDict),
 Exposed=(Window,Worker,AudioWorklet)]
interface Event { ... }

[Constructor,
 Exposed=(Window,Worker,AudioWorklet)]
interface EventTarget { ... }

If this looks okay, I'll submit a PR shortly.

annevk commented 7 years ago

Looks good, thanks!