`Symbol.toStringTag` on `MessageChannel` and `MessagePort`
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.3k
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 283
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue にある 2 つの node -e 再現コマンドを実行し、それらのオブジェクトタグを決定する MessageChannel と MessagePort のランタイムエントリポイントを追跡します。呼び出しが [object MessageChannel] と [object MessagePort] を生成し、両方のケースに対するリグレッションカバレッジが追加されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, node.js
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 68/100