-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background Fetch #30
Comments
Per w3ctag/design-reviews#279 Google plans on shipping this soonish. Has anyone looked at this in detail? cc @wanderview |
From the ServiceWorkers TPAC F2F, Chrome is about 4 weeks out from an intent-to-ship on this. From the Gecko DOM workers & storage team, this seems like a reasonable API to us but the earliest we could get to it is 2019Q1 and Q2 is likely more realistic unless the network team wants to pick it up. |
Given https://wicg.github.io/background-fetch/#privacy-and-bandwidth-use it'd be useful to get some security UX feedback on this as well, e.g., from @johannhof. |
Sorry for neglecting to update this issue. In contrast with "background sync" this is effectively "background downloads" under a different name as I understand it. Based on private conversations (i.e., not my idea) a model that might work here is that we treat these entirely as downloads (requiring user gesture, probably restrict to first parties, etc.) and only notify the service worker of completion of these downloads if it happens to be still open or when the user next visits. I.e., do not give it the opportunity to run script in the background. |
Despite the maybe misleading name, this is for downloads and uploads. It’s made clear in the spec’s abstract. |
@asutherland would you be able to take another look at this? It still hasn't been moved to a standard, but if this is worth implementing, we'd like to communicate with google about moving this to a proper spec body. |
Filed a webkit position also WebKit/standards-positions#149 |
I was pinged via other channels; from the perspective of our DOM: Workers & Storage team:
|
Request for Mozilla Position on an Emerging Web Specification
Other information
An API to handle large uploads/downloads in the background with user visibility.
The text was updated successfully, but these errors were encountered: