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

Breaking out fallback request interception #28

Open
slightlyoff opened this issue Apr 17, 2015 · 5 comments
Open

Breaking out fallback request interception #28

slightlyoff opened this issue Apr 17, 2015 · 5 comments
Labels

Comments

@slightlyoff
Copy link
Collaborator

In conversation with @jungkees, it sounds like e.handleFallthroughRequest(...) should probably be broken out into a separate proposal for changing the SW API.

/cc @jakearchibald @jungkees

@mkruisselbrink
Copy link
Owner

Yes, completely agree with this. Both n.c and request interception are ways to enable cross-origin service worker communication, but they are different enough for it to not really make sense to combine them in one proposal.
But what about network (http header based) installation of SWs? That probably also makes more sense as a change to the SW API rather than being part of a n.c spec?

@jakeleichtling
Copy link
Contributor

I agree with breaking both e.handleFallthroughRequest(...) and HTTP header-based installation of SWs out of n.c, since these seem to fall into the more general SW API.

Relatedly, it may make sense to introduce a n.c flag that allows the caller to invoke the installation of the target SW if it is not already installed.

@benfrancis
Copy link

+1

@jungkees
Copy link
Collaborator

The fallback request interception and the HTTP header-based installation features have been proposed as extensions to the SW (v2): w3c/ServiceWorker#684, w3c/ServiceWorker#685, respectively.

@jungkees
Copy link
Collaborator

Just reopened it until we sort out the spec text which is now pointed to by the issues filed in SW.

@jungkees jungkees reopened this Apr 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants