You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ServiceWorkerMessageEvent has initServiceWorkerMessageEvent() [1], but I think we should drop this method because as the note[2] says, initEvent() method only exists for historical reason and we can use constructor to initialize events.
Agreed. @jakearchibald@annevk Can there be any concern about dropping this method considering devs historically having used the initMessageEvent()? (Although they're now defined as unrelated interfaces.)
ServiceWorkerMessageEvent
hasinitServiceWorkerMessageEvent()
[1], but I think we should drop this method because as the note[2] says,initEvent()
method only exists for historical reason and we can use constructor to initialize events.[1] https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworkermessage-event-initserviceworkermessageevent-method
[2] https://dom.spec.whatwg.org/#dom-event-initeventtype-bubbles-cancelable
The text was updated successfully, but these errors were encountered: