Closed skyclouds2001 closed 1 month ago
but interestingly, in browser implement InstallEvent
is constructible
Yes, I believe this is an oversight in the spec that was missed when InstallEvent was added in https://github.com/w3c/ServiceWorker/pull/1701. I can't think of any reason why we shouldn't have a constructor.
current the definition for
InstallEvent
does not has a constructor, this is different from other event interfaces and is quite uncommon, should it also define with a constructor, too?relates with https://github.com/mdn/browser-compat-data/pull/22870