CodeSampleX

Beispiel

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

Fall

Ziel
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
Pakete
puppeteer 24.2.1
Umgebung
node
Erstellt
2026-08-17T02:00:01Z

Häufige Annahme

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

So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.

Contract

Dateien

Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief

Ursprungs-Seeder

csx-seed

Verifizierungsbelege