rea/tests/boundary/browser
Matt Van Horn d28b41ea4e
feat(javascript): resolve exact package import aliases (#1862)
* feat(javascript): resolve exact package import aliases

Resolve exact #alias specifiers against the importer's enclosing
package.json imports map using the shared condition, array, and null
target selection. Nested packages keep their own maps; missing keys,
explicit nulls, and out-of-scope aliases report a precise reason.
Wildcard, recursive, and external-package import targets remain
unresolved.

* fix(javascript): keep nested import aliases in CLI graphs

Bound nested #alias requires produce application-graph require edges
from the enclosing package. Node reports MODULE_NOT_FOUND when a nested
package.json has no imports field, without inheriting the ancestor map.

* fix(javascript): resolve literal package import keys before path admission

* fix(javascript): preserve import keys and invalid-target fallback

* fix(javascript): preserve unmatched package target arrays

* fix(javascript): retain package target refusal evidence

* test(browser): match real verifier startup budget

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-10-12 01:17:58 +08:00
..
browserProcessStartup.test.ts test: eliminate fixture races and prune redundant scaffolding (#849) 2026-10-07 12:25:37 +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(browser): preserve command failures and reject malformed replies 2026-10-09 04:12:48 +08:00
cdpBrowserProvider.network.test.ts fix(browser): preserve captures when response bodies are unavailable 2026-10-09 07:47:34 +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 test: remove duplicate result assertions before throwing guards 2026-10-09 02:58:03 +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
cdpElectronProvider.test.ts fix(electron): support packaged app.asar pages and rewritten unpacked companions (#1400) 2026-10-10 23:01:54 +08:00
cdpJsonShapeComparison.test.ts fix(browser)!: preserve WebSocket connections and comparable payload coverage 2026-10-11 09:43:25 +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(browser): distinguish duplicate screenshot frame events (#612) 2026-10-06 02:10:00 +08:00
cdpScriptMetadata.test.ts fix(publication)!: retain cleanup owners across export workflows 2026-10-11 05:17:10 +08:00
cdpSvgXlinkHref.test.ts feat(javascript): resolve exact package import aliases (#1862) 2026-10-12 01:17:58 +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
electronActiveHook.test.ts refactor!: enforce canonical evidence and provider boundaries 2026-10-09 20:18:52 +08:00
historicalCaptureDecoder.test.ts fix: reject directory paths for the Wakaru limiter and mitmdump 2026-10-11 10:43:48 +08:00
historicalWebCapture.test.ts fix: name host and tool requirements in optional adapter refusals 2026-10-09 08:12:25 +00:00
runtimeFixtureCleanup.test.ts feat(browser): attribute native execution and listener sources (#917) 2026-10-07 21:45:07 +08:00
webCaptureDiff.test.ts fix(browser)!: preserve WebSocket connections and comparable payload coverage 2026-10-11 09:43:25 +08:00
webSourceMapFetcher.test.ts fix(browser): retain effective source-map response urls 2026-10-11 15:35:43 +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(browser): compose nested source-map column offsets (#1109) 2026-10-09 02:01:29 +08:00
webSourceMapResponseCleanup.test.ts test: eliminate fixture races and prune redundant scaffolding (#849) 2026-10-07 12:25:37 +08:00