Skip to content

expose MessageEvent for node core #2769

Closed

Description

@KhafraDev

Both node and undici implement MessageEvent. Node's implementation is far from spec compliant, whereas undici's is (we run idl WPTs on MessageEvent). Should we replace the existing MessageEvent with undici's?

On a side note: since I had no idea that node had MessageEvent, it does not work with WebSocket.

Activity

  1. metcoder95 commented on Feb 16, 2024

    @metcoder95
    Member

    It will most likely mean a major, should we aim for v22?
    I'm just not fully aware what's the process on Node.js releases for that 😅

  2. KhafraDev commented on Feb 16, 2024

    @KhafraDev
    MemberAuthor

    Unfortunately error messages do change, but all tests from node core pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions