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

Feature-Policy and Workers #207

bakulf opened this issue Sep 2, 2018 · 4 comments

Feature-Policy and Workers #207

bakulf opened this issue Sep 2, 2018 · 4 comments


Copy link

bakulf commented Sep 2, 2018

FeaturePolicy should be supported in Workers and SharedWorkers.
Policy interface should be also exposed via DedicatedWorkerGlobalScope and SharedWorkerGlobalScope.

Copy link

#174 is an attempt to define support for workers, but may be incomplete.

  • Doesn't allow for a Feature-Policy HTTP header to be sent with worker scripts
  • SharedWorkers are still problematic -- I think that that the integration in that PR would mean that a shared worker gets the policy of the first document which creates it, which is racy.

Copy link

In review at Mozilla, we identified shared and service workers as serious problems. Having a policy subject to the whims of races is not good. This suggests that this needs more thought.

Copy link

cc @rsolomakhin

Copy link

cc @oyiptong

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

No branches or pull requests

7 participants
@oyiptong @clelland @martinthomson @bakulf @rsolomakhin @pabrai and others