whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.19k stars 2.72k forks source link

Expose MessagePort to AudioWorklet #3081

Closed hoch closed 7 years ago

hoch commented 7 years ago

cc: @domenic @annevk

Related issue from Web Audio API

The proposed change is:

[Exposed=(Window,Worker,AudioWorklet), Transferable]
interface MessagePort : EventTarget { ... }

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

annevk commented 7 years ago

That looks good, thanks. https://github.com/whatwg/dom/issues/515 should probably be fixed first given the dependency on EventTarget.