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
I just noticed, while setting up a new project, that the serviceworker list doesn't appear to include URL and fetch, while worker does. Since 'serviceworker' inherits from worker, according to MDN, this seems incorrect to me.
It's also possible I'm misunderstanding the issue. It also seems at a short glance that #82 will introduce inheritance so this would be magically solved in the future.
The text was updated successfully, but these errors were encountered:
TBBle
changed the title
ServiceWorker scope doesn't include everything from 'worker'
'serviceworker' doesn't include everything from 'worker'
Mar 26, 2018
I've just realised that perhaps the intention is that the user must mark the file with both environments, since the serviceworker definition only includes those things that aren't included in worker.
I just noticed, while setting up a new project, that the
serviceworker
list doesn't appear to includeURL
andfetch
, whileworker
does. Since 'serviceworker' inherits fromworker
, according to MDN, this seems incorrect to me.It's also possible I'm misunderstanding the issue. It also seems at a short glance that #82 will introduce inheritance so this would be magically solved in the future.
The text was updated successfully, but these errors were encountered: