WICG / cookie-store

Asynchronous access to cookies from JavaScript
https://wicg.github.io/cookie-store/
Apache License 2.0
144 stars 35 forks source link

Examples incorrectly use `event.waitFor` instead of `event.waitUntil` #107

Closed Hexcles closed 4 years ago

Hexcles commented 5 years ago

Stumbled upon the explainer and noticed the example used event.waitFor in a service worker. A quick search shows a few other matches including in the spec text, too: https://github.com/WICG/cookie-store/search?q=waitfor&unscoped_q=waitfor

They should probably be event.waitUntil instead.

ImUrX commented 4 years ago

fixed by #109