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

[html] Test COEP derivation in shared workers #20899

Merged

Conversation

jugglinmike
Copy link
Contributor

This may be incorrect. I'm trying to verify that COEP is initialized according to the new algorithm for workers. I'm second-guessing myself because Chromium 78 fails the interesting cases:

2019-12-20-coep-shared-worker-chromium-failures

@annevk
Copy link
Member

annevk commented Jan 3, 2020

Thanks for writing this!

It would help if variable names were consistent. E.g., consistently refer to frame or owner for the frame. Now, it's not clear to me how you deal with the worker failing to load. If the owner/frame requires COEP and the worker does not, how is that handled? (Also, "default COEP" is not entirely clear to me, "without COEP" / "with COEP" or "none" / "require-corp" would be clearer.)

I also think it'd be worth adding importScripts() to the mix to ensure it also adheres to the same requirements.

Hope that helps.

Copy link
Member

@zcorpan zcorpan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've rebased and addressed (my own) review comments. If bots are green, I think this can be merged.

@zcorpan
Copy link
Member

zcorpan commented Jan 19, 2021

When #27226 is merged, I will rebase this PR again.

@zcorpan zcorpan force-pushed the html-coep-shared-worker-policy branch from a77c21f to bc798de Compare January 26, 2021 15:46
@gsnedders gsnedders merged commit 6eb96ee into web-platform-tests:master Apr 6, 2021
@zcorpan zcorpan deleted the html-coep-shared-worker-policy branch April 6, 2021 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants