Skip to content

Symbol.toStringTag on MessageChannel and MessagePort #65527

Description

@brettz9

Version

v26.7.0

Platform

Darwin MacBook-Air-3.local 25.5.0 Darwin Kernel Version 25.5.0: Tue Jun  9 22:26:46 PDT 2026; root:xnu-12377.121.10~1/RELEASE_ARM64_T8103 arm64

Subsystem

No response

What steps will reproduce the bug?

node -e "console.log(Object.prototype.toString.call(new MessageChannel()))"

node -e "console.log(Object.prototype.toString.call(new MessageChannel().port1))"

How often does it reproduce? Is there a required condition?

Always. No special required condition.

What is the expected behavior? Why is that the expected behavior?

Display [object MessageChannel] and [object MessagePort] respectively.

What do you see instead?

[object Object]

[object EventTarget]

Additional information

No response

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