rea/tests/boundary/browser
The one -Niu edd9939879
fix(browser): give the DevToolsActivePort wait one deadline owner (#2265)
* Single owner for the Chrome DevToolsActivePort startup deadline

Cold Chrome startup tolerance was spelled three ways for one wait: the helper
fell back to 15,000 ms, the runtime fixture lifecycle passed a literal 60,000,
and the real-browser verifier kept a local 60,000 constant. A per-caller literal
quietly changes how long a lane tolerates a cold browser before it fails, and
the failure reported only elapsed_ms, so a reader could not see which ceiling
was hit.

Export BROWSER_DEVTOOLS_STARTUP_TIMEOUT_MS as the owner, use it for the helper
fallback and both call sites, and report startup_timeout_ms in
BrowserStartupError. A source guard keeps callers from restating the number.

* Pin the DevToolsActivePort deadline guard to the startup call argument

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-10-13 22:35:45 +08:00
..
browserProcessStartup.test.ts fix(browser): give the DevToolsActivePort wait one deadline owner (#2265) 2026-10-13 22:35:45 +08:00
cdpBrowserProvider.discovery_authorization.test.ts test(browser): consolidate CDP workflows and colocate parser coverage 2026-10-08 04:03:24 +08:00
cdpBrowserProvider.document_script.test.ts fix(browser): retain incomplete WebMCP replay coverage 2026-10-11 01:54:26 +08:00
cdpBrowserProvider.indexed_db.test.ts fix: capture IndexedDB object-store record fingerprints (#809) 2026-10-07 10:18:03 +08:00
cdpBrowserProvider.lifecycle_failures.test.ts fix(evidence): preserve literal keys and response body ownership 2026-10-12 16:17:29 +08:00
cdpBrowserProvider.network.test.ts fix(evidence): preserve literal keys and response body ownership 2026-10-12 16:17:29 +08:00
cdpBrowserProvider.redirectErrors.test.ts fix(browser): bound source-map fetches and retain predecessor requests 2026-10-09 00:49:30 +08:00
cdpBrowserProvider.sensitive_data.test.ts perf(tests): remove timed output and synchronize browser fixtures 2026-10-11 13:20:16 +08:00
cdpBrowserProvider.support.ts test(browser): consolidate CDP workflows and colocate parser coverage 2026-10-08 04:03:24 +08:00
cdpBrowserProvider.targetInventory.test.ts fix(runtime)!: preserve unknown debugger attachment state 2026-10-12 12:37:00 +08:00
cdpBrowserProvider.timelineEvents.test.ts test: remove duplicate result assertions before throwing guards 2026-10-09 02:58:03 +08:00
cdpCaptureDocuments.test.ts test(browser): consolidate CDP workflows and colocate parser coverage 2026-10-08 04:03:24 +08:00
cdpCaptureNavigation.test.ts test(browser): consolidate CDP workflows and colocate parser coverage 2026-10-08 04:03:24 +08:00
cdpCaptureScriptMetadata.test.ts fix(browser): bound script metadata and preserve omissions 2026-10-09 06:32:10 +08:00
cdpCleanupCancellation.test.ts perf(evm): avoid repeated cleanup diagnostics (#1622) 2026-10-11 03:28:16 +08:00
cdpConnection.test.ts fix(browser): bound CDP messages by the shared budget 2026-10-11 07:30:14 +08:00
cdpDomSvgIdentity.test.ts fix(browser): distinguish SVG links from HTML XLink attributes (#2480) 2026-10-13 21:23:33 +08:00
cdpElectronProvider.test.ts fix(runtime)!: preserve unknown debugger attachment state 2026-10-12 12:37:00 +08:00
cdpEndpointResponseBounds.test.ts fix(browser): bound CDP discovery response size and lifetime 2026-10-13 07:52:54 +08:00
cdpHttpComparison.test.ts test(web): cover nullable HTTP captures through CDP and CLI (#1834) 2026-10-13 21:44:08 +08:00
cdpJsonShapeComparison.test.ts fix(evidence): preserve literal keys and response body ownership 2026-10-12 16:17:29 +08:00
cdpObservationResourceTypes.test.ts fix(browser): keep subresource redirects out of page navigation scope (#524) 2026-10-05 14:58:14 +08:00
cdpProtocolFailure.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
cdpScreenshotDocumentIdentity.test.ts fix(screenshot): reject invalid PNG header dimensions (#2472) 2026-10-13 15:50:44 +09:00
cdpScriptMetadata.test.ts fix(publication)!: retain cleanup owners across export workflows 2026-10-11 05:17:10 +08:00
cdpSvgXlinkHref.test.ts fix(browser): distinguish SVG links from HTML XLink attributes (#2480) 2026-10-13 21:23:33 +08:00
cdpWebRuntime.test.ts perf(browser): normalize precise coverage once by script identity 2026-10-11 02:48:59 +08:00
cdpWebRuntimeFinalCollection.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
cdpWebRuntimeInitiator.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
cdpWebRuntimeReview.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
cdpWebRuntimeSelector.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
cdpWebRuntimeSourceIdentity.test.ts perf(browser): normalize precise coverage once by script identity 2026-10-11 02:48:59 +08:00
cdpWebRuntimeTermination.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
cdpWebRuntimeWorldOwnership.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
cdpWorkerAttachmentProtocol.test.ts fix(runtime)!: preserve unknown debugger attachment state 2026-10-12 12:37:00 +08:00
electronActiveHook.test.ts refactor!: enforce canonical evidence and provider boundaries 2026-10-09 20:18:52 +08:00
historicalCaptureDecoder.test.ts fix(artifacts): retain read cleanup ownership through CLI and MCP shutdown 2026-10-13 16:08:41 +08:00
historicalWebCapture.test.ts fix(browser): exclude sensitive binary lengths from historical captures (#2477) 2026-10-13 14:49:47 +08:00
runtimeFixtureCleanup.test.ts fix(ci): allow cold Chrome startup in runtime fixtures 2026-10-13 02:17:14 +08:00
sazWebCapture.test.ts feat(fiddler): inspect native SAZ captures 2026-10-13 02:51:14 +00:00
webCaptureDiff.test.ts test(web): cover nullable HTTP captures through CDP and CLI (#1834) 2026-10-13 21:44:08 +08:00
webSourceMapFetcher.test.ts fix(source-maps): accept omitted names during browser collection (#2831) 2026-10-13 22:17:09 +08:00
webSourceMapHttpStatus.test.ts fix(browser): retain effective source-map response urls 2026-10-11 15:35:43 +08:00
webSourceMapNestedCoordinates.test.ts fix(sourcemaps)!: preserve nullable source declarations 2026-10-12 11:10:49 +08:00
webSourceMapResponseCleanup.test.ts test: eliminate fixture races and prune redundant scaffolding (#849) 2026-10-07 12:25:37 +08:00