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

How does document policy work in workers? #33

Open
annevk opened this issue Jan 18, 2021 · 1 comment
Open

How does document policy work in workers? #33

annevk opened this issue Jan 18, 2021 · 1 comment

Comments

@annevk
Copy link

annevk commented Jan 18, 2021

In a worker you do not have access to a document which would make step 3 of profile() fail to compile or some such.

@acomminos
Copy link
Collaborator

It does not, currently. The spec has been updated to only expose profile on Window, with worker support pending progress on w3c/webappsec-permissions-policy#207.

acomminos added a commit that referenced this issue Jul 9, 2021
Until #33 is resolved, we should not expose Profiler on Worker objects.
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