-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Remove broken check #1157
Remove broken check #1157
Conversation
The check, for some reason, was not removed in this PR: #1037
|
@mrlika sorry I first missunderstood the problem. |
The test needs to be corrected. In Node v18 BroadcastChannel is defined in the global scope as a native implementation. If the native implementation is used, |
|
@pubkey, I fixed failing tests to force the use of the Please confirm that in Node.js v18 default should be |
In Node.js, there is the BroadcastChannel API but that only works in workers, not across node.js processes. Pinning the method for some tests is not a solution, it should autodetect the correct method. |
Ok. Let me think about how to handle it. |
Ok. Fixed.
This condition filters Node.js environment with no |
Merged and released @mrlika . Thank you, please test the new release. |
@pubkey
This PR contains:
Describe the problem you have without this PR
No
window
object in a service worker context causes the service worker to fail to detect native support.The check, for some reason, was not removed in this PR: #1037
Todos