WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
214548
Feature Request: Implement the Background Fetch API
https://bugs.webkit.org/show_bug.cgi?id=214548
Summary
Feature Request: Implement the Background Fetch API
Thomas Steiner
Reported
2020-07-20 04:27:37 PDT
Spec:
https://wicg.github.io/background-fetch/
Article:
https://developers.google.com/web/updates/2018/12/background-fetch
Use case: Fetching (as in down- or uploading) content without the page being open. Example: ```js navigator.serviceWorker.ready.then(async (swReg) => { const bgFetch = await swReg.backgroundFetch.fetch('my-fetch', ['/ep-5.mp3', 'ep-5-artwork.jpg'], { title: 'Episode 5: Interesting things.', icons: [{ sizes: '300x300', src: '/ep-5-icon.png', type: 'image/png', }], downloadTotal: 60 * 1024 * 1024, }); }); ```
Attachments
Add attachment
proposed patch, testcase, etc.
Felix Gnass
Comment 1
2020-07-23 02:29:00 PDT
We would love to add background fetch to the PWA of German public broadcaster ZDF (
https://pwa.zdf.de
) so having support for this in Safari too would be highly appreciated.
Radar WebKit Bug Importer
Comment 2
2020-07-24 19:26:52 PDT
<
rdar://problem/66086044
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug