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

SW Registers Same Tab as Two Clients #23

Closed
georgeaf99 opened this issue Jan 17, 2017 · 1 comment
Closed

SW Registers Same Tab as Two Clients #23

georgeaf99 opened this issue Jan 17, 2017 · 1 comment
Labels

Comments

@georgeaf99
Copy link
Collaborator

Open a new tab and look at the clients registered to the SW.

@georgeaf99 georgeaf99 added the bug label Jan 17, 2017
@xuset
Copy link
Owner

xuset commented Jan 17, 2017

It's a feature not a bug 😛

When the page initially loads, the service worker responds with the injection/downloader html. The injected page then fetches the originally requested page and displays it in an iframe. Each context, the parent page and it's iframe, is it's own client so that's why there are two.

@xuset xuset closed this as completed Jan 17, 2017
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

2 participants