-
Notifications
You must be signed in to change notification settings - Fork 56
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 #279
Comments
My understanding is there's an implementation underway. Is there really no time pressure and/or deadline you'd like us to work under? |
We're aiming to send an intend to ship in July/August, so it's a little more pressing that I initially thought. |
How can you ship when the draft has substantive issues, such as the one below "response failed due to a failed CORS check"? (I don't think we should expose such a failure to content.) |
I do need to get a move on with the spec 😢. Trying to devote more time to it. |
Seems like the explainer switched branches: https://github.com/WICG/background-fetch/blob/master/README.md |
Hi! Just getting my feet wet with this spec, so I apologies if my mental map is incomplete... Here's a few points of discussion I found in my first read: The optional The In the spirit of not needing to re-activate the browser code to do UI updates, I'd like to suggest we drop |
If you're downloading a DASH-style movie it could be 1000s of resources. It's going to take a long time for the browser to know much about the size.
The main difference is it's async. I'd like to make it an async iterator at some point.
The browser needs reactivated anyway so the responses can be handled/read/moved. I kinda like the idea of specifying this stuff ahead of time, but it feels like it loses functionality for not much gain. |
I've just published an article about my exploration of what we have in Chrome Canary M72 at the moment: https://medium.com/@webmaxru/background-fetch-api-get-ready-to-use-it-69cca522cd8f |
From this post: "The But I might be wrong in my assumptions :) |
Your assumptions are correct. The spec defines the maximum of |
@webmaxru you might also be interested in https://bgfetch-http203.glitch.me/. |
Hard to imagine the better usecase! I plan to build a PoC of bgfetch automation tool, maybe this will end up as a plugin for Workbox - will use podcast app as a guinea pig :) |
Have re-read the spec and associated resources, and I'm feeling more comfortable with the design ;-). In the explainer you note that the UA should take steps to ensure that the content that originates from the web app is distinctly separate from the trusted UI elements as rendered by the UA. Another concern that led to browsers all-but-removing the rendering of beforeunload's status message, is that fields like "title" are potential attack surface. May want to make of note of that in the Security and Privacy section of the spec as well to be sure implementors are aware. |
Have filed the above issue. All others on the call today supported closing the issue. Thanks so much for the TAG review, and we hope to be of service again soon (Come on back, ya'll!) |
Thanks TAG! The review was genuinely useful & I'm looking forward to the next one. |
Hello TAG!
I'm requesting a TAG review of:
You should also know that...
The spec isn't complete yet, so this is more of an opportunity to review the proposed API.
We'd prefer the TAG provide feedback as (please select one):
The text was updated successfully, but these errors were encountered: