WICG / cookie-store

Asynchronous access to cookies from JavaScript

Home Page:https://wicg.github.io/cookie-store/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Hexcles opened this issue · comments

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.

commented

fixed by #109