Skip to content

MessageChannel is not defined in encodeInto.any.js #28851

Description

@AtticusYang
  • Version: v13.0.0-pre
  • Platform:Mac
  • Subsystem:

I try to finish the feature Add TextEncoder.prototype.encodeInto , after finish the feature , i test with command
python tools/test.py wpt/test-encoding

I meet the failure as followed

[FAILURE] encodeInto() and a detached output buffer
MessageChannel is not defined
ReferenceError: MessageChannel is not defined
at Test. (node/test/fixtures/wpt/encoding/encodeInto.any.js:142:3)

encodeInto.any.js

142   new MessageChannel().port1.postMessage(buffer, [buffer]);
143   ({ read, written } = new TextEncoder().encodeInto("", view));

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions