зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1848125 - Expose Event and MessageEvent in AudioWorkletGlobalScope. r=webidl,smaug
It appears that it was in the spec all along, it's just something we missed on the Gecko side: https://html.spec.whatwg.org/multipage/comms.html#the-messageevent-interface https://dom.spec.whatwg.org/#interface-event Differential Revision: https://phabricator.services.mozilla.com/D186434
This commit is contained in:
Родитель
8826140e54
Коммит
a135136166
|
@ -10,7 +10,7 @@
|
|||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker), ProbablyShortLivingWrapper]
|
||||
[Exposed=(Window,Worker,AudioWorklet), ProbablyShortLivingWrapper]
|
||||
interface Event {
|
||||
constructor(DOMString type, optional EventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* https://html.spec.whatwg.org/#messageevent
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker,AudioWorklet)]
|
||||
interface MessageEvent : Event {
|
||||
constructor(DOMString type, optional MessageEventInit eventInitDict = {});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче