Sample
verify page.$$eval in pkg:npm/puppeteer@24.4.0
sha256:5090ce681ee2ae2ed9d514e8e0aea8801a14c0b9e7fd528ab9e11d4f525e024c
Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures.
Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments.
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
- Evidence basis
- Independent cross-verification
- Verification receipts
- 1
- Verification level
- L4_CROSS_PASS
Declared environment
chrome 134 linux x64 node 22 javascript npm
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| chrome 134 · linux debian/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-19 |
Case
HOW- Goal
- verify page.$$eval in pkg:npm/puppeteer@24.4.0
- Packages
- Symbols
-
- page.$$eval
- page.$eval
- page.evaluate
- page.exposeFunction
- Environment
- chrome 134
- Created
- 2026-08-18T13:23:15Z
Contract
- page.$$eval passes an array of matching elements to its callback; treating the first argument as one element reads undefined, while mapping the array returns every text value.
- page.$eval rejects when no element matches, whereas page.$$eval calls its callback with an empty array and returns normally.
- Returning document.body directly from page.evaluate crosses the protocol as an empty plain object rather than a serialized DOM node.
- A synchronous Node function installed with page.exposeFunction returns a Promise in the browser context and yields its value only when awaited.
Files
- PROMPT.md
- csx.json
- package-lock.json
- package.json
- spec.json
- test/contract.mjs
Origin Seeder
anonymous