Repository navigation
v0.3.10
0.3.10
One leak in an ordinary error type and four documentation fixes, found by a sixth independent review of 0.3.9 (#376). No API change.
Fixed: a failed fill() (#377)
- A
DOMException's message is scrubbed. Node'sDOMException(whatfetchrejects with on abort,structuredCloneon a bad value) servesmessagefrom an accessor on its prototype, so it is no own property; 0.3.9 scrubbed the stack and lefte.messageandString(e)carrying the value. An error'smessageis now read wherever it lives. When the value is found in an inherited one, the scrubbed text is stored on the error itself; the error stays the same object and class. The new test fails on 0.3.9 under Node and under Bun. - Limit: a
DOMExceptionmade in another realm is not recognised as an error.
Docs (the bundled skill and the README)
No example uses a page or collector that an earlier example of the same document closed:
presets/network/SKILL.mdno longer disposes its collector before the example that waits on it.references/quickstart.mdno longer closes its page before the snapshot example.- The README's second example and the cookie example in
references/stealth.mdsay in a// given:line that they need a tab that is still open.
These four were not re-run end to end after the edit; the edits remove or qualify the line each failed on.
Known, filed
- #356: tests that launch a browser inside the default 5 s limit time out on a loaded or slow runner (two more instances on the Windows runner today). #364, #375: two other Windows-only flakes. None is touched here.
Verification
Hosted CI at the merged head: Linux (bun and Node), macOS and Windows pass (Windows on a re-run). Full bun suite on a Linux build box at load 58: 756 pass, 16 skip, 0 fail.
What's Changed
- fix: scrub a DOMException's inherited message; no example uses a closed page or collector by @code-yeongyu in #377
- chore(release): 0.3.10 by @code-yeongyu in #378
Full Changelog: v0.3.9...v0.3.10