Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

skipWaiting() should return a promise #2

Open
alastaircoote opened this issue Oct 14, 2017 · 0 comments
Open

skipWaiting() should return a promise #2

alastaircoote opened this issue Oct 14, 2017 · 0 comments

Comments

@alastaircoote
Copy link
Contributor

In the course of writing the README for the project, I found out that ServiceWorkerGlobalScope.skipWaiting() actually returns a promise... that returns immediately with a value of undefined:

https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting

Our version just returns undefined. Should be a pretty simple fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant