mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
a page navigation replaces the runtime, so the seeded picker restarted the seed's stream at its first draw on every reload and a trace could not tell a reload from a generator repeating itself. the driver now drains the main-frame navigations it saw, reports the page's buffered uncaught errors so state.exceptions is the page's list on the goja host too, and carries the picker's draw position out of v8 and back in around each decision.
12 lines
473 B
TypeScript
12 lines
473 B
TypeScript
// The seeded picker, over a page that gets navigated out from under it.
|
|
//
|
|
// internal/driver/chrome/picker_stream_test.go bundles this through the
|
|
// production web bundler and asks for one action at a time. `taps` over a page
|
|
// whose targets never move draws exactly once per call, so the actions it hands
|
|
// back ARE the seed's draw stream, and a stream that restarts is visible in
|
|
// them.
|
|
|
|
import { taps } from "../src/actions.ts";
|
|
|
|
export const actionsRoot = taps;
|