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

Add tests for worker constructors called from worker global scope #567

Closed
fred-wang opened this issue Dec 9, 2024 · 2 comments
Closed
Assignees

Comments

@fred-wang
Copy link
Contributor

fred-wang commented Dec 9, 2024

https://html.spec.whatwg.org/multipage/workers.html#dedicated-workers-and-the-worker-interface
https://html.spec.whatwg.org/multipage/workers.html#shared-workers-and-the-sharedworker-interface

We have trusted-types/worker-constructor.https.html for worker constructors, but IIUC all the new calls are done from the Window global scope.

cc @mbrodesser-Igalia @lukewarlow

@mbrodesser-Igalia mbrodesser-Igalia self-assigned this Dec 17, 2024
@mbrodesser-Igalia
Copy link
Collaborator

SharedWorker is only exposed to Window, see the IDL definition of https://html.spec.whatwg.org/multipage/workers.html#shared-workers-and-the-sharedworker-interface. So only tests for Workers are required.

moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this issue Dec 18, 2024
…kerGlobalScope.

Fixes w3c/trusted-types#567.

Differential Revision: https://phabricator.services.mozilla.com/D232359

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1907849
gecko-commit: 1615038844f1294ee4033d766e9080f0c7dbda3b
gecko-reviewers: smaug
@mbrodesser-Igalia
Copy link
Collaborator

Fixed via above linked commit.

moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this issue Dec 18, 2024
…kerGlobalScope.

Fixes w3c/trusted-types#567.

Differential Revision: https://phabricator.services.mozilla.com/D232359

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1907849
gecko-commit: 33f7437132ed1729faaca96797f96c7712518852
gecko-reviewers: smaug
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Dec 18, 2024
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Dec 18, 2024
moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this issue Dec 18, 2024
…kerGlobalScope.

Fixes w3c/trusted-types#567.

Differential Revision: https://phabricator.services.mozilla.com/D232359

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1907849
gecko-commit: 33f7437132ed1729faaca96797f96c7712518852
gecko-reviewers: smaug
ErichDonGubler pushed a commit to erichdongubler-mozilla/firefox that referenced this issue Dec 19, 2024
ErichDonGubler pushed a commit to erichdongubler-mozilla/firefox that referenced this issue Dec 19, 2024
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