The listener names its parameter `event` but reads `e.request` in both the cache lookup and the network fallback. Use `event.request` in both calls.
You can view, comment on, or merge this pull request online at:
https://github.com/w3c/ServiceWorker/pull/1861
-- Commit Summary --
* Use the fetch event in the cache fallback example
-- File Changes --
M index.bs (6)
-- Patch Links --
https://github.com/w3c/ServiceWorker/pull/1861.patch
https://github.com/w3c/ServiceWorker/pull/1861.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1861
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/ServiceWorker/pull/1861@github.com>