@ai-ecoverse/slicc-browsers 1.37.0 → 1.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -167,7 +167,7 @@ URLs are judged the way the browser parses them, so `blob:`, `view-source:` and
167
167
 
168
168
  A browser extension's frame inside an ordinary page doesn't make the tab protected. The frame itself stays out of reach: it can't be attached or read, and its URL never appears in target discovery, page reads, snapshots, accessibility trees or evaluate results. The tab's own page can still be read and snapshotted. Screenshots and input are allowed only while every extension frame is hidden (no layout box or `visibility: hidden`) and none holds focus through nested documents or shadow roots; a screenshot taken while one became shown is thrown away. Opacity and position don't count as hidden. A race between the visibility or focus check and the CDP reply is accepted. Whole-page captures and starting a screencast are refused while any extension frame is in the tab; an active screencast is stopped or its frames dropped until the frame is gone. These refusals name the extension frame, not seven. A frame from the program's own extension, and any other protected frame, still makes the whole tab protected. `protectedOrigins.extensionFrames` lists the schemes, methods and refusals; `protected.mjs` offers `extensionFrame(url)`.
169
169
 
170
- `catalog.json`'s `protectedOrigins` holds the rules, and `protected.json` the vectors: URLs, targets, cookie domains and storage keys, each with the expected answer. A target may carry `contextOrigin`, its default execution context's origin. `protected.mjs` is the reference implementation:
170
+ `catalog.json`'s `protectedOrigins` holds the rules, and `protected.json` the vectors: URLs, targets, cookie domains and storage keys, each with the expected answer. A target may carry `contextOrigin`, its default execution context's origin; the rule binds a live context origin too. `protected.mjs` is the reference implementation:
171
171
 
172
172
  ```js
173
173
  import catalog from '@ai-ecoverse/slicc-browsers' with { type: 'json' };
@@ -189,7 +189,7 @@ A guard sits between a CDP client and the browser and keeps the client away from
189
189
 
190
190
  Each vector runs twice. The **control** runs against an ordinary origin and must work. The **guarded** leg runs through the guard against a protected target and must be refused or have no effect. A **liveness** check outside the guard proves the target was really there. All three must pass.
191
191
 
192
- A guard may refuse every client navigation to an `about:` URL that inherits an origin, such as `about:blank`. Refusing an ordinary navigation away from a protected page still fails.
192
+ A guard may refuse every client navigation to an `about:` URL that inherits an origin. Refusing an ordinary navigation away from a protected page still fails.
193
193
 
194
194
  ### What a guard must let through
195
195
 
@@ -230,7 +230,7 @@ You supply:
230
230
 
231
231
  | capability | means the transport can |
232
232
  | --- | --- |
233
- | `autoAttach` | auto-attach to child targets such as popups and iframes |
233
+ | `autoAttach` | auto-attach to child targets |
234
234
  | `iframeAutoAttach` | auto-attach non-tab child targets (out-of-process iframes) under a page session |
235
235
  | `errorFrameClass` | tell whether a failed (error) iframe was loading a protected URL, without being given the URL |
236
236
  | `browserSession` | send `Target.*` and `Browser.*` on the browser session |
package/cookie-plant.mjs CHANGED
@@ -2713,10 +2713,29 @@ function missedTab(ctx, step, error) {
2713
2713
  return { ...EMPTY_ATTEMPT, missed: { step, error: boundedError(error, ctx.tag) } };
2714
2714
  }
2715
2715
 
2716
+ function refusedTab(ctx, attached, elapsedMs) {
2717
+ return {
2718
+ ...attemptRecord(attached.refused, 'incomplete'),
2719
+ missed: {
2720
+ step: attached.step,
2721
+ refused: true,
2722
+ error: boundedError(attached.refused.error, ctx.tag),
2723
+ elapsedMs,
2724
+ },
2725
+ };
2726
+ }
2727
+
2716
2728
  function missedPath(name, attempt, notes) {
2717
2729
  if (!attempt?.missed) return attempt;
2718
2730
  const { missed, ...rest } = attempt;
2719
2731
  note(notes, 'cookie-plant.attach', { path: name, ...missed });
2732
+ if (missed.refused)
2733
+ return {
2734
+ ...rest,
2735
+ premiseMissed: ['Answered', 'Refused', 'Planted']
2736
+ .filter((field) => rest[field.toLowerCase()] === 'incomplete')
2737
+ .map((field) => `${name}${field}: fresh tab ${missed.step} refused: ${missed.error}`),
2738
+ };
2720
2739
  const fields = ['Answered', 'Refused', 'Planted', ...(name === 'deletion' ? ['Cleared'] : [])];
2721
2740
  return {
2722
2741
  ...rest,
@@ -2736,13 +2755,14 @@ async function withFreshAttemptTab(ctx, run) {
2736
2755
  const pageTarget = page.result.targetId;
2737
2756
  const timing = { pathStartedAt: Date.now() };
2738
2757
  const attached = await attachClientPage(client, pageTarget, internalSessions);
2758
+ const attachMs = Date.now() - timing.pathStartedAt;
2739
2759
  if (attached.incomplete) {
2740
2760
  await outcome(reader.send('Target.closeTarget', { targetId: pageTarget }));
2741
2761
  return missedTab(ctx, attached.step, attached.error);
2742
2762
  }
2743
2763
  if (attached.refused && refused(attached.refused)) {
2744
2764
  await outcome(reader.send('Target.closeTarget', { targetId: pageTarget }));
2745
- return attemptRecord(attached.refused, 'incomplete');
2765
+ return refusedTab(ctx, attached, attachMs);
2746
2766
  }
2747
2767
  const pageSession = attached.pageSession;
2748
2768
  if (!pageSession) {
@@ -3892,7 +3912,8 @@ async function attachClientPage(client, pageTarget, internalSessions) {
3892
3912
  'attachToTarget'
3893
3913
  );
3894
3914
  if (!attached.ok) {
3895
- if (sessionCut(attached) || refused(attached)) return { refused: attached, pageSession: null };
3915
+ if (sessionCut(attached) || refused(attached))
3916
+ return { refused: attached, step: 'Target.attachToTarget', pageSession: null };
3896
3917
  return {
3897
3918
  incomplete: `client attach failed: ${attached.error?.message ?? attached.error}`,
3898
3919
  step: 'Target.attachToTarget',
@@ -3909,7 +3930,8 @@ async function attachClientPage(client, pageTarget, internalSessions) {
3909
3930
  ]) {
3910
3931
  const enabled = await capped(outcome(client.send(method, {}, pageSession)), 800, label);
3911
3932
  if (!enabled.ok) {
3912
- if (sessionCut(enabled) || refused(enabled)) return { refused: enabled, pageSession };
3933
+ if (sessionCut(enabled) || refused(enabled))
3934
+ return { refused: enabled, step: label, pageSession };
3913
3935
  return {
3914
3936
  incomplete: `client ${label} failed: ${enabled.error?.message ?? enabled.error}`,
3915
3937
  step: label,
@@ -3931,14 +3953,16 @@ async function enableClientTransport(client, pageSession, notes) {
3931
3953
  };
3932
3954
  let fetchEnable = transport.fetchEnable ?? null;
3933
3955
  if (transport.fetch && refused(fetchEnable))
3934
- return { transport, legacyReady: false, fetchEnable };
3956
+ return { transport, legacyReady: false, fetchEnable, legacySetup: null };
3935
3957
  if (transport.fetch && fetchEnable && !fetchEnable.ok)
3936
- return { transport, legacyReady: false, fetchEnable };
3958
+ return { transport, legacyReady: false, fetchEnable, legacySetup: null };
3937
3959
  let legacyReady = transport.legacy;
3960
+ let legacySetup = legacyReady ? 'accepted' : null;
3938
3961
  if (!legacyReady && transport.fetch && fetchEnable?.ok) {
3939
3962
  await outcome(client.send('Fetch.disable', {}, pageSession));
3940
3963
  const legacy = await enableLegacy(client, pageSession);
3941
3964
  legacyReady = legacy.ok;
3965
+ legacySetup = legacy.ok ? 'accepted' : refused(legacy) ? 'refused' : null;
3942
3966
  if (legacyReady) {
3943
3967
  transport.legacy = true;
3944
3968
  await outcome(client.send('Network.setRequestInterception', { patterns: [] }, pageSession));
@@ -3959,16 +3983,40 @@ async function enableClientTransport(client, pageSession, notes) {
3959
3983
  800,
3960
3984
  'Fetch.enable'
3961
3985
  );
3962
- if (refused(fetchEnable)) return { transport, legacyReady, fetchEnable };
3963
- if (!fetchEnable.ok) return { transport, legacyReady, fetchEnable };
3986
+ if (refused(fetchEnable)) return { transport, legacyReady, fetchEnable, legacySetup };
3987
+ if (!fetchEnable.ok) return { transport, legacyReady, fetchEnable, legacySetup };
3964
3988
  if (legacyReady) note(notes, 'cookie-plant.legacyProbe', { ready: true });
3989
+ else if (legacySetup === 'refused')
3990
+ note(notes, 'cookie-plant.legacyProbe', {
3991
+ ready: false,
3992
+ refused: true,
3993
+ refusal: boundedError(legacy.error),
3994
+ });
3965
3995
  else
3966
3996
  note(notes, 'cookie-plant.legacyProbe', {
3967
3997
  ready: false,
3968
3998
  note: 'legacy unsupported in this Chrome',
3969
3999
  });
3970
4000
  }
3971
- return { transport, legacyReady, fetchEnable };
4001
+ return { transport, legacyReady, fetchEnable, legacySetup };
4002
+ }
4003
+
4004
+ async function readerLegacySetup(reader, sessionId) {
4005
+ const setup = await capped(enableLegacy(reader, sessionId), 800, 'control-legacy');
4006
+ if (setup.ok)
4007
+ await capped(
4008
+ outcome(reader.send('Network.setRequestInterception', { patterns: [] }, sessionId)),
4009
+ 800,
4010
+ 'control-legacy-off'
4011
+ );
4012
+ return refused(setup);
4013
+ }
4014
+
4015
+ function legacySetupValue(setup, notes) {
4016
+ if (setup === 'refused') return true;
4017
+ if (setup === 'accepted') return false;
4018
+ note(notes, 'cookie-plant.legacySetupRefused', 'not applicable: no slicc refusal of the setup');
4019
+ return 'not-supported';
3972
4020
  }
3973
4021
 
3974
4022
  function credentialAttacks(ctx) {
@@ -4391,6 +4439,9 @@ export async function cookiePlant({
4391
4439
  if (probe.done) return probe.done;
4392
4440
  const transport = probe.enabled.transport;
4393
4441
  const legacyReady = probe.enabled.legacyReady;
4442
+ const legacySetupRefused = control
4443
+ ? await readerLegacySetup(reader, probe.readerSession)
4444
+ : legacySetupValue(probe.enabled.legacySetup, notes);
4394
4445
  await capped(disableInterception(client, probe.pageSession, transport), 800, 'probe-disable');
4395
4446
  await capped(
4396
4447
  outcome(reader.send('Target.closeTarget', { targetId: probe.pageTarget })),
@@ -4467,6 +4518,7 @@ export async function cookiePlant({
4467
4518
  credential,
4468
4519
  fetch: Boolean(transport.fetch),
4469
4520
  legacy: Boolean(legacyReady),
4521
+ legacySetupRefused,
4470
4522
  evidenceIncomplete,
4471
4523
  results,
4472
4524
  });
@@ -4479,7 +4531,15 @@ function doorPremiseMissed(door) {
4479
4531
  };
4480
4532
  }
4481
4533
 
4482
- function finishCookiePlant({ control, credential, fetch, legacy, evidenceIncomplete, results }) {
4534
+ function finishCookiePlant({
4535
+ control,
4536
+ credential,
4537
+ fetch,
4538
+ legacy,
4539
+ legacySetupRefused = 'not-supported',
4540
+ evidenceIncomplete,
4541
+ results,
4542
+ }) {
4483
4543
  const skips = Object.values(results).flatMap((attempt) => attempt?.premiseMissed ?? []);
4484
4544
  return Object.assign(
4485
4545
  {
@@ -4487,6 +4547,7 @@ function finishCookiePlant({ control, credential, fetch, legacy, evidenceIncompl
4487
4547
  control: Boolean(control),
4488
4548
  fetch,
4489
4549
  legacy,
4550
+ legacySetupRefused,
4490
4551
  credential,
4491
4552
  ...(evidenceIncomplete && !control
4492
4553
  ? { incomplete: 'protected plant evidence incomplete' }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "setVersion": "1.37.0",
3
+ "setVersion": "1.38.1",
4
4
  "sources": [
5
5
  {
6
6
  "repo": "ai-ecoverse/slicc-cli",
@@ -37351,6 +37351,16 @@
37351
37351
  "legacyInterception"
37352
37352
  ]
37353
37353
  },
37354
+ "legacySetupRefused": {
37355
+ "means": "C10.cookie-plant: the guarded Network.setRequestInterception setup got a slicc refusal (accepted: false; missing method or other error: not applicable; control attempt on the unguarded reader)",
37356
+ "optional": true,
37357
+ "check": {
37358
+ "result": "probe",
37359
+ "path": "result.legacySetupRefused",
37360
+ "equals": true,
37361
+ "observer": "client"
37362
+ }
37363
+ },
37354
37364
  "ordinaryPlanted": {
37355
37365
  "means": "C10.cookie-plant: ordinary Set-Cookie through Fetch.fulfillRequest landed in the jar",
37356
37366
  "check": {
@@ -37453,6 +37463,7 @@
37453
37463
  "continueAtRequestRefused",
37454
37464
  "legacyHeadersRefused",
37455
37465
  "legacyRawRefused",
37466
+ "legacySetupRefused",
37456
37467
  "fulfillNewlineAnswered",
37457
37468
  "headerPaddedAnswered"
37458
37469
  ],
@@ -37467,7 +37478,8 @@
37467
37478
  "adobeAnswered": true,
37468
37479
  "adobeRefused": false,
37469
37480
  "deletionCleared": true,
37470
- "adobePlanted": true
37481
+ "adobePlanted": true,
37482
+ "legacySetupRefused": false
37471
37483
  }
37472
37484
  },
37473
37485
  "expected": {
@@ -37534,6 +37546,7 @@
37534
37546
  "legacyRawPlanted": false,
37535
37547
  "legacyRawAnswered": true,
37536
37548
  "legacyRawRefused": "either",
37549
+ "legacySetupRefused": "either",
37537
37550
  "ordinaryPlanted": true,
37538
37551
  "ordinaryAnswered": true,
37539
37552
  "deletionAnswered": true,
@@ -38363,6 +38376,16 @@
38363
38376
  "legacyInterception"
38364
38377
  ]
38365
38378
  },
38379
+ "legacySetupRefused": {
38380
+ "means": "C10.cookie-plant.credential: the guarded Network.setRequestInterception setup got a slicc refusal (accepted: false; missing method or other error: not applicable; control attempt on the unguarded reader)",
38381
+ "optional": true,
38382
+ "check": {
38383
+ "result": "probe",
38384
+ "path": "result.legacySetupRefused",
38385
+ "equals": true,
38386
+ "observer": "client"
38387
+ }
38388
+ },
38366
38389
  "hostOnlyPlanted": {
38367
38390
  "means": "C10.cookie-plant.credential: host-only Set-Cookie on an IMS request must not plant (evidenceForm commandRefused when answered+refused+not planted)",
38368
38391
  "check": {
@@ -38566,6 +38589,7 @@
38566
38589
  "continueAtRequestRefused",
38567
38590
  "legacyHeadersRefused",
38568
38591
  "legacyRawRefused",
38592
+ "legacySetupRefused",
38569
38593
  "hostOnlyRefused",
38570
38594
  "domainCoverRefused",
38571
38595
  "fulfillNewlineAnswered",
@@ -38582,7 +38606,8 @@
38582
38606
  "adobeAnswered": true,
38583
38607
  "adobeRefused": false,
38584
38608
  "deletionCleared": true,
38585
- "adobePlanted": true
38609
+ "adobePlanted": true,
38610
+ "legacySetupRefused": false
38586
38611
  }
38587
38612
  },
38588
38613
  "expected": {
@@ -38649,6 +38674,7 @@
38649
38674
  "legacyRawPlanted": false,
38650
38675
  "legacyRawAnswered": true,
38651
38676
  "legacyRawRefused": "either",
38677
+ "legacySetupRefused": "either",
38652
38678
  "hostOnlyPlanted": false,
38653
38679
  "hostOnlyAnswered": true,
38654
38680
  "hostOnlyRefused": "either",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-browsers",
3
- "version": "1.37.0",
3
+ "version": "1.38.1",
4
4
  "description": "SLICC's shared browser catalog, JSON schemas and discovery conformance corpus",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -79,7 +79,7 @@
79
79
  "validate": "node scripts/validate.mjs",
80
80
  "lint": "slicc-lint && test -z \"$(gofmt -l .)\" && go mod tidy -diff && go vet ./... && GOOS=darwin go vet ./... && GOOS=windows go vet ./... && golangci-lint run && cargo fmt --check && cargo clippy --all-features --all-targets -- -D warnings && cargo check --target wasm32-wasip1 --no-default-features && cargo check --target wasm32-wasip1 --features serde && cargo check --target wasm32-wasip1 --all-features",
81
81
  "format": "biome check --write . && gofmt -w . && cargo fmt",
82
- "test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-redirect-through.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-error-frame-class.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-cookie-plant-chrome.test.mjs test/integration/guard-cookie-plant.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/validate-guard-explicit.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs test/integration/guard-explicit-attach-chrome.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-child-latency-stress.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-cookie-plant-raw-leg.test.mjs test/integration/guard-cookie-plant-deletion.test.mjs test/integration/guard-cookie-plant-attach.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frame-click.test.mjs test/integration/guard-extension-frame-key.test.mjs test/integration/guard-extension-frame-attach.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-explicit-attach.test.mjs test/integration/guard-explicit-order.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner-record.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs test/integration/guard-browser-storage.test.mjs test/integration/guard-control-premises.test.mjs",
82
+ "test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-redirect-through.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-error-frame-class.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-cookie-plant-chrome.test.mjs test/integration/guard-cookie-plant.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/validate-guard-explicit.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs test/integration/guard-explicit-attach-chrome.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-child-latency-stress.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-cookie-plant-raw-leg.test.mjs test/integration/guard-cookie-plant-deletion.test.mjs test/integration/guard-cookie-plant-attach.test.mjs test/integration/guard-cookie-plant-legacy-setup.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frame-click.test.mjs test/integration/guard-extension-frame-key.test.mjs test/integration/guard-extension-frame-attach.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-explicit-attach.test.mjs test/integration/guard-explicit-order.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner-record.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs test/integration/guard-browser-storage.test.mjs test/integration/guard-control-premises.test.mjs",
83
83
  "test:unit": "mkdir -p coverage/unit && node --experimental-test-coverage --test --test-concurrency=1 --test-reporter=lcov --test-reporter-destination=coverage/unit/lcov.info test/unit/*.test.mjs && go test -race -cover ./...",
84
84
  "build": "go build ./... && cargo build --all-features && cargo build --target wasm32-wasip1 --all-features && npm pack --dry-run",
85
85
  "prepublishOnly": "node scripts/set-crate-version.mjs \"$npm_package_version\"",
@@ -90,7 +90,7 @@
90
90
  "test:unit:guard": "mkdir -p coverage/unit && node --experimental-vm-modules --no-warnings --experimental-test-coverage --test --test-concurrency=1 --test-coverage-include=guard-runner.mjs --test-coverage-include=guard-driver.mjs --test-coverage-include=extension-frame.mjs --test-coverage-include=fixture-server.mjs --test-coverage-include=fixture-client.mjs --test-coverage-include=observer-target.mjs --test-coverage-include=frame-read.mjs --test-coverage-include=bfcache-restore.mjs --test-coverage-include=protected-error-page.mjs --test-coverage-include=protected-parent-iframes.mjs --test-coverage-include=unparseable-url.mjs --test-coverage-include=scripts/browser-runner.mjs --test-coverage-include=scripts/validate.mjs --test-reporter=lcov --test-reporter-destination=coverage/unit/guard.lcov test/unit/guard-*.test.mjs && slicc-diff-cover coverage/unit/guard.lcov"
91
91
  },
92
92
  "devDependencies": {
93
- "@ai-ecoverse/slicc-cdp": "2.1.21",
93
+ "@ai-ecoverse/slicc-cdp": "2.1.25",
94
94
  "@ai-ecoverse/slicc-shared-web": "2.17.0",
95
95
  "@biomejs/biome": "2.6.8",
96
96
  "ajv": "8.20.0",