Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comlink API: Pass the context argument to windowEndpoint, not wrap
Follows up on #1085 that correctly identified the issue with `postMessage` event handlers, but passed the context argument to the wrong function call. `wrap()` uesd in that PR is not responsible for binding the message event handler. `windowEndpoint()` is. This PR fixes the mistake.
- Loading branch information