CodeSampleX

サンプル

In puppeteer 24.2.1 compared to 24.2.0, sending a protocol command on a CDPSession whose underlying CDP connection is closed immediately rejects with TargetCloseError.

sha256:dc1b1b112e2416c0ba3d543669e6d586c6363367e1bbc4fc411f7e8705f60071

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
In puppeteer 24.2.1 compared to 24.2.0, sending a protocol command on a CDPSession whose underlying CDP connection is closed immediately rejects with TargetCloseError. HOW
パッケージ
puppeteer 24.2.1
環境
node
作成日
2026-08-17T02:00:01Z

よくある思い込み

A CDPSession continues attempting raw protocol message dispatch when sent a command, even after its underlying connection is marked closed.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート