v154 · background fetch

A background fetch that works

The baseline, with everything real: a service worker registered from this directory, a genuine backgroundFetch.fetch() over same-origin files, and the per-record results reported back from the worker rather than guessed at from the page.

Download three files

idle
What the service worker saw, per record
requeststatusresponse typereadable?
Not run yet.
Press the button.

A background fetch is deliberately visible to the user — Chrome shows it in the downloads UI, because a download that outlives the page is something they should be able to see and cancel. The title and downloadTotal passed here are what appears there.

see also