Khafra
Khafra
window is synonymous with globalThis, `globalThis.navigator` is the same as `window.navigator` with a few more characters.
the tests should also pass once undici is updated again since the error messages were slightly improved
https://github.com/nodejs/node/blob/fc801687eafe39f61880c7271e3b7529bdebb44a/lib/internal/worker/io.js#L131 undici's MessageEvent isn't exposed, I had no idea node implemented it honestly.
> When set to true, options’s [capture](https://dom.spec.whatwg.org/#dom-eventlisteneroptions-capture) prevents [callback](https://dom.spec.whatwg.org/#event-listener-callback) from being invoked when the [event](https://dom.spec.whatwg.org/#concept-event)’s [eventPhase](https://dom.spec.whatwg.org/#dom-event-eventphase) attribute value is [BUBBLING_PHASE](https://dom.spec.whatwg.org/#dom-event-bubbling_phase). When false (or not present), [callback](https://dom.spec.whatwg.org/#event-listener-callback) will not be invoked...
No, they're expected to exist but they weren't implemented.
@Uzlopak this can move forward now
cc @nodejs/web-standards
once undici is updated it will be
As a casual observer, mixing node streams with web streams will only lead to harder to maintain code. IMO all of the node stream stuff should be removed.
Without hearing the benefits of having a monorepo, I can't make an argument against it, or agree to having one. A monorepo won't make undici easier to maintain, it won't...