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
The webidl ServiceWorkerState enum, however, does not define a matching value. The spec does not say what to do if the .state getter is somehow called while the state is parsed.
We could explicitly throw, but I think it would be better to just reflect the state in the enum.
The text was updated successfully, but these errors were encountered:
FWIW I'm landing this change in gecko's webidl for now. I need some value internally for the state during initial script evaluation before installation actually starts. Currently its not accessible to script but of course that could change with stuff like #1077. If anyone would like to use a different name, e.g. evaluating, please let me know.
Currently the spec defines an internal ServiceWorker state
parsed
:https://w3c.github.io/ServiceWorker/#dfn-state
The webidl
ServiceWorkerState
enum, however, does not define a matching value. The spec does not say what to do if the.state
getter is somehow called while the state isparsed
.We could explicitly throw, but I think it would be better to just reflect the state in the enum.
The text was updated successfully, but these errors were encountered: