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

should a frame navigated to about:blank inherit a service worker controller? #1350

Open
wanderview opened this issue Sep 5, 2018 · 1 comment

Comments

@wanderview
Copy link
Member

wanderview commented Sep 5, 2018

Currently we inherit a service worker controller from the parent frame when a srcdoc or initial about:blank frame is created. Should some form of inheritance happen when an iframe with a non-blank URL gets navigated to about:blank?

If so, where should the service worker be inherited from. Apparently some browsers inherit the origin from the navigation initiator instead of the parent. Should service worker inheritance match? (This is a similar question to #1261).

This question was raised in https://crbug.com/880768.

@annevk
Copy link
Member

annevk commented Sep 6, 2018

Yes, and where I guess depends on how we generally resolve those questions for such a document, as this is not the only thing it'll inherit. Unfortunately all of that is still a mess in the HTML Standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants