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

No longer allow a policy exception just for workers #9668

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

annevk
Copy link
Member

@annevk annevk commented Sep 1, 2023

In particular, if you can execute script, you can execute a worker. Making workers an optional feature is not actually something user agents implement and has led to implementer confusion, e.g., web-platform-tests/wpt#41758.

  • At least two implementers are interested (and none opposed):
    • Gecko
    • WebKit
  • Tests are written and can be reviewed and commented upon at:
    • N/A
  • Implementation bugs are filed:
    • Chromium: N/A
    • Gecko: N/A
    • WebKit: N/A
  • MDN issue is filed: N/A

(See WHATWG Working Mode: Changes for more details.)


/workers.html ( diff )

In particular, if you can execute script, you can execute a worker. Making workers an optional feature is not actually something user agents implement and has led to implementer confusion, e.g., web-platform-tests/wpt#41758.
@annevk
Copy link
Member Author

annevk commented Sep 1, 2023

@youennf @allstarschh @smaug---- @hiroshige-g does this seem reasonable?

@smaug----
Copy link

Oh, the pr is about removing those exceptions which no one throws? I thought this was something very different based on the title :)

Seems fine

@annevk annevk changed the title Bundle workers with script execution No longer allow a policy exception just for workers Sep 1, 2023
@annevk
Copy link
Member Author

annevk commented Sep 2, 2023

Note to reviewers: if you want to merge this, please adjust the commit title as per the PR title change.

@annevk annevk merged commit 6ca960a into main Sep 4, 2023
1 check passed
@annevk annevk deleted the annevk/worker-policy branch September 4, 2023 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants