Skip to content
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

Open
marcoscaceres opened this issue Sep 27, 2017 · 8 comments
Open

Background Fetch #30

marcoscaceres opened this issue Sep 27, 2017 · 8 comments
Labels
under review venue: W3C CG Specifications in W3C Community Groups (e.g., WICG, Privacy CG)

Comments

@marcoscaceres
Copy link
Contributor

Request for Mozilla Position on an Emerging Web Specification

Other information

An API to handle large uploads/downloads in the background with user visibility.

@annevk
Copy link
Contributor

annevk commented May 18, 2018

Per w3ctag/design-reviews#279 Google plans on shipping this soonish. Has anyone looked at this in detail?

cc @wanderview

@dbaron dbaron added the venue: W3C CG Specifications in W3C Community Groups (e.g., WICG, Privacy CG) label Aug 9, 2018
@asutherland
Copy link
Member

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.

@annevk
Copy link
Contributor

annevk commented Oct 29, 2018

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.

@annevk
Copy link
Contributor

annevk commented Apr 15, 2020

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.

@tomayac
Copy link
Contributor

tomayac commented Apr 15, 2020

[T]his is effectively "background downloads" under a different name as I understand it.

Despite the maybe misleading name, this is for downloads and uploads. It’s made clear in the spec’s abstract.

@codehag
Copy link
Collaborator

codehag commented Jun 27, 2022

@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.

@marcoscaceres
Copy link
Contributor Author

Filed a webkit position also WebKit/standards-positions#149

@zcorpan zcorpan changed the title RFP: Background Fetch Background Fetch Mar 12, 2024
@asutherland
Copy link
Member

I was pinged via other channels; from the perspective of our DOM: Workers & Storage team:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
under review venue: W3C CG Specifications in W3C Community Groups (e.g., WICG, Privacy CG)
Projects
Status: Unscreened
Development

No branches or pull requests

6 participants