-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Workers: test where Worker/SharedWorker are exposed #23381
Conversation
And remove broken tests. For whatwg/html#5497.
Tests: web-platform-tests/wpt#23381. Closes #5497.
// META: global=window,worker | ||
|
||
test(() => { | ||
// Use onfetch as service worker detector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about just globalThis.ServiceWorkerGlobalScope
?
If I run https://web-platform.test:8443/workers/semantics/multiple-workers/exposure.any.sharedworker.html locally in Chrome Canary I get a harness error and basically no useful information. Not sure what's going on. (All other variants are fine.) |
https://wpt.fyi/results/workers/semantics/multiple-workers/exposure.any.sharedworker.html?label=pr_head&max-count=1&pr=23381 looks OK, does it work with |
Not sure, not familiar with that way of running tests. |
Tests: web-platform-tests/wpt#23381. Closes #5497.
And remove broken tests.
For whatwg/html#5497.