Exemple
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
Cas
- Objectif
- 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
- Paquets
- puppeteer 24.2.1
- Environnement
- node
- Créé
- 2026-08-17T02:00:01Z
Ce que l'on suppose souvent
A CDPSession continues attempting raw protocol message dispatch when sent a command, even after its underlying connection is marked closed.
L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.
Contrat
- In puppeteer 24.2.1 compared to 24.2.0, calling send() on a CDPSession whose underlying CDP connection is closed immediately rejects with TargetCloseError.
- In puppeteer 24.2.1, network request interception CDP errors containing Unsafe header are re-thrown by handleError rather than swallowed.
Fichiers
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9