@ai-ecoverse/slicc-browsers 1.31.0 → 1.33.0
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/cookie-plant.mjs +89 -8
- package/guard-vectors.json +27 -3
- package/package.json +5 -5
package/cookie-plant.mjs
CHANGED
|
@@ -127,6 +127,7 @@ async function diagnoseIncomplete({
|
|
|
127
127
|
trigger,
|
|
128
128
|
firstIncomplete,
|
|
129
129
|
handle,
|
|
130
|
+
wait = null,
|
|
130
131
|
}) {
|
|
131
132
|
const elapsedMs = Date.now() - startedAt;
|
|
132
133
|
const legElapsedMs = Date.now() - legStartedAt;
|
|
@@ -150,6 +151,7 @@ async function diagnoseIncomplete({
|
|
|
150
151
|
pauseHits: pauses.length,
|
|
151
152
|
anyPaused,
|
|
152
153
|
server,
|
|
154
|
+
...(wait ? { wait } : {}),
|
|
153
155
|
...timing,
|
|
154
156
|
};
|
|
155
157
|
note(notes, `cookie-plant.${label}`, evidence);
|
|
@@ -351,6 +353,40 @@ async function waitPause(client, from, url, methods, budget) {
|
|
|
351
353
|
}, budget);
|
|
352
354
|
}
|
|
353
355
|
|
|
356
|
+
async function waitIssuedPause(client, from, url, methods, triggerPromise, pauseMs, settleMs) {
|
|
357
|
+
const startedAt = Date.now();
|
|
358
|
+
let settledAt = null;
|
|
359
|
+
let issued = false;
|
|
360
|
+
Promise.resolve(triggerPromise).then(
|
|
361
|
+
(out) => {
|
|
362
|
+
settledAt = Date.now();
|
|
363
|
+
issued = out?.ok === true && !out.result?.exceptionDetails;
|
|
364
|
+
},
|
|
365
|
+
() => {
|
|
366
|
+
settledAt = Date.now();
|
|
367
|
+
}
|
|
368
|
+
);
|
|
369
|
+
for (;;) {
|
|
370
|
+
const paused = pauseEvents(client.events, from, url, methods).at(-1) ?? null;
|
|
371
|
+
const now = Date.now();
|
|
372
|
+
const origin = settledAt == null ? startedAt : Math.min(settledAt, startedAt + settleMs);
|
|
373
|
+
if (paused || now - origin > pauseMs)
|
|
374
|
+
return {
|
|
375
|
+
paused,
|
|
376
|
+
wait: {
|
|
377
|
+
pauseMs,
|
|
378
|
+
settleMs,
|
|
379
|
+
waitMs: now - startedAt,
|
|
380
|
+
triggerSettled: settledAt != null,
|
|
381
|
+
triggerSettledMs: settledAt == null ? null : settledAt - startedAt,
|
|
382
|
+
triggerIssued: issued,
|
|
383
|
+
pauseSeen: Boolean(paused),
|
|
384
|
+
},
|
|
385
|
+
};
|
|
386
|
+
await pause(25);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
354
390
|
async function tabHrefFromReader(reader, pageTarget) {
|
|
355
391
|
if (!reader || !pageTarget) return null;
|
|
356
392
|
const info = await capped(
|
|
@@ -1703,7 +1739,16 @@ async function runPlantBody({
|
|
|
1703
1739
|
state.triggerPromise = topLevel
|
|
1704
1740
|
? triggerNavigate(client, pageSession, url)
|
|
1705
1741
|
: triggerFetch(client, pageSession, url);
|
|
1706
|
-
|
|
1742
|
+
const waited = await waitIssuedPause(
|
|
1743
|
+
client,
|
|
1744
|
+
from,
|
|
1745
|
+
url,
|
|
1746
|
+
methods,
|
|
1747
|
+
state.triggerPromise,
|
|
1748
|
+
pauseMs,
|
|
1749
|
+
Math.min(budget, 500)
|
|
1750
|
+
);
|
|
1751
|
+
state.paused = waited.paused;
|
|
1707
1752
|
if (!state.paused) {
|
|
1708
1753
|
const trigger = await settleTrigger(state.triggerPromise, Math.min(budget, 500));
|
|
1709
1754
|
state.triggerPromise = Promise.resolve(trigger);
|
|
@@ -1723,6 +1768,7 @@ async function runPlantBody({
|
|
|
1723
1768
|
ensure,
|
|
1724
1769
|
trigger,
|
|
1725
1770
|
firstIncomplete,
|
|
1771
|
+
wait: waited.wait,
|
|
1726
1772
|
});
|
|
1727
1773
|
return attemptRecord({ ok: false, error: { message: 'timeout: no pause' } }, 'incomplete');
|
|
1728
1774
|
}
|
|
@@ -2444,8 +2490,21 @@ async function proveDoor({
|
|
|
2444
2490
|
triggerPromise = triggerNavigate(reader, sessionId, url);
|
|
2445
2491
|
const methods =
|
|
2446
2492
|
transport.kind === 'legacy' ? ['Network.requestIntercepted'] : ['Fetch.requestPaused'];
|
|
2447
|
-
|
|
2493
|
+
const waited = await waitIssuedPause(
|
|
2494
|
+
reader,
|
|
2495
|
+
from,
|
|
2496
|
+
url,
|
|
2497
|
+
methods,
|
|
2498
|
+
triggerPromise,
|
|
2499
|
+
Math.min(budget, 2000),
|
|
2500
|
+
Math.min(budget, 500)
|
|
2501
|
+
);
|
|
2502
|
+
paused = waited.paused;
|
|
2448
2503
|
if (!paused) {
|
|
2504
|
+
note(notes, 'cookie-plant.door', {
|
|
2505
|
+
incomplete: 'raw leg: no pause for top-level plant navigation',
|
|
2506
|
+
...waited.wait,
|
|
2507
|
+
});
|
|
2449
2508
|
return { live: false, incomplete: 'raw leg: no pause for top-level plant navigation' };
|
|
2450
2509
|
}
|
|
2451
2510
|
const setCookie = cookieHeader(plantName, cookie.value, domain);
|
|
@@ -3043,18 +3102,22 @@ async function observeRawPlantSend({
|
|
|
3043
3102
|
);
|
|
3044
3103
|
}
|
|
3045
3104
|
triggerHolder.promise = triggerNavigate(reader, sessionId, plantUrl);
|
|
3046
|
-
|
|
3105
|
+
const waited = await waitIssuedPause(
|
|
3047
3106
|
reader,
|
|
3048
3107
|
from,
|
|
3049
3108
|
plantUrl,
|
|
3050
3109
|
['Fetch.requestPaused'],
|
|
3051
|
-
|
|
3110
|
+
triggerHolder.promise,
|
|
3111
|
+
Math.min(budget, 2000),
|
|
3112
|
+
Math.min(budget, 500)
|
|
3052
3113
|
);
|
|
3114
|
+
const { wait } = waited;
|
|
3115
|
+
triggerHolder.paused = waited.paused;
|
|
3053
3116
|
if (!triggerHolder.paused) {
|
|
3054
3117
|
return noteRawDoor(
|
|
3055
3118
|
notes,
|
|
3056
3119
|
label,
|
|
3057
|
-
{ ...incompleteRaw('raw leg: no pause'), browserContextId },
|
|
3120
|
+
{ ...incompleteRaw('raw leg: no pause'), browserContextId, ...wait },
|
|
3058
3121
|
'raw leg incomplete',
|
|
3059
3122
|
handle,
|
|
3060
3123
|
pathStartedAt
|
|
@@ -3085,6 +3148,7 @@ async function observeRawPlantSend({
|
|
|
3085
3148
|
doorPresent: false,
|
|
3086
3149
|
incomplete: jar?.canaryMissing ? 'jar view canary absent' : 'cookie jar unreadable',
|
|
3087
3150
|
...jarAuditFields(jarHandle, jar),
|
|
3151
|
+
...wait,
|
|
3088
3152
|
},
|
|
3089
3153
|
'raw leg incomplete',
|
|
3090
3154
|
handle,
|
|
@@ -3102,7 +3166,7 @@ async function observeRawPlantSend({
|
|
|
3102
3166
|
doorPresent,
|
|
3103
3167
|
browserContextId,
|
|
3104
3168
|
};
|
|
3105
|
-
const audited = { ...raw, ...jarAuditFields(jarHandle, jar) };
|
|
3169
|
+
const audited = { ...raw, ...jarAuditFields(jarHandle, jar), ...wait };
|
|
3106
3170
|
noteRawDoor(
|
|
3107
3171
|
notes,
|
|
3108
3172
|
label,
|
|
@@ -3406,7 +3470,16 @@ async function allowedHeaderAttempt({
|
|
|
3406
3470
|
triggerPromise = topLevel
|
|
3407
3471
|
? triggerNavigate(client, pageSession, url)
|
|
3408
3472
|
: triggerFetch(client, pageSession, url);
|
|
3409
|
-
|
|
3473
|
+
const waited = await waitIssuedPause(
|
|
3474
|
+
client,
|
|
3475
|
+
from,
|
|
3476
|
+
url,
|
|
3477
|
+
methods,
|
|
3478
|
+
triggerPromise,
|
|
3479
|
+
pauseMs,
|
|
3480
|
+
Math.min(budget, 500)
|
|
3481
|
+
);
|
|
3482
|
+
paused = waited.paused;
|
|
3410
3483
|
if (!paused) {
|
|
3411
3484
|
const trigger = await settleTrigger(triggerPromise, Math.min(budget, 500));
|
|
3412
3485
|
triggerPromise = Promise.resolve(trigger);
|
|
@@ -3426,6 +3499,7 @@ async function allowedHeaderAttempt({
|
|
|
3426
3499
|
ensure,
|
|
3427
3500
|
trigger,
|
|
3428
3501
|
firstIncomplete,
|
|
3502
|
+
wait: waited.wait,
|
|
3429
3503
|
});
|
|
3430
3504
|
return attemptRecord(
|
|
3431
3505
|
{ ok: false, error: { message: 'timeout: no pause' } },
|
|
@@ -4223,7 +4297,7 @@ export async function cookiePlant({
|
|
|
4223
4297
|
browserContextId,
|
|
4224
4298
|
browserContexts,
|
|
4225
4299
|
});
|
|
4226
|
-
if (!door.live) return door;
|
|
4300
|
+
if (!door.live) return doorPremiseMissed(door);
|
|
4227
4301
|
|
|
4228
4302
|
const probe = await openPlantClient({
|
|
4229
4303
|
client,
|
|
@@ -4317,6 +4391,13 @@ export async function cookiePlant({
|
|
|
4317
4391
|
});
|
|
4318
4392
|
}
|
|
4319
4393
|
|
|
4394
|
+
function doorPremiseMissed(door) {
|
|
4395
|
+
return {
|
|
4396
|
+
incomplete: door.incomplete ?? 'raw leg incomplete',
|
|
4397
|
+
...(Object.hasOwn(door, 'browserContextId') ? { browserContextId: door.browserContextId } : {}),
|
|
4398
|
+
};
|
|
4399
|
+
}
|
|
4400
|
+
|
|
4320
4401
|
function finishCookiePlant({ control, credential, fetch, legacy, evidenceIncomplete, results }) {
|
|
4321
4402
|
return Object.assign(
|
|
4322
4403
|
{
|
package/guard-vectors.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"setVersion": "1.
|
|
3
|
+
"setVersion": "1.33.0",
|
|
4
4
|
"sources": [
|
|
5
5
|
{
|
|
6
6
|
"repo": "ai-ecoverse/slicc-cli",
|
|
@@ -31443,6 +31443,18 @@
|
|
|
31443
31443
|
"explicitAttach"
|
|
31444
31444
|
]
|
|
31445
31445
|
},
|
|
31446
|
+
{
|
|
31447
|
+
"cdp": "Target.getTargetInfo",
|
|
31448
|
+
"params": {
|
|
31449
|
+
"targetId": "{rawTarget}"
|
|
31450
|
+
},
|
|
31451
|
+
"session": "browser",
|
|
31452
|
+
"via": "unguarded",
|
|
31453
|
+
"as": "mapped",
|
|
31454
|
+
"requires": [
|
|
31455
|
+
"explicitAttach"
|
|
31456
|
+
]
|
|
31457
|
+
},
|
|
31446
31458
|
{
|
|
31447
31459
|
"cdp": "Target.getTargets",
|
|
31448
31460
|
"params": {},
|
|
@@ -31643,7 +31655,7 @@
|
|
|
31643
31655
|
}
|
|
31644
31656
|
},
|
|
31645
31657
|
"listed": {
|
|
31646
|
-
"means": "Target.getTargets lists the raw target id",
|
|
31658
|
+
"means": "Target.getTargets lists the raw target id, asked after the unguarded observer used that id",
|
|
31647
31659
|
"check": {
|
|
31648
31660
|
"result": "listed",
|
|
31649
31661
|
"path": "result.targetInfos",
|
|
@@ -31801,6 +31813,18 @@
|
|
|
31801
31813
|
"explicitAttach"
|
|
31802
31814
|
]
|
|
31803
31815
|
},
|
|
31816
|
+
{
|
|
31817
|
+
"cdp": "Target.getTargetInfo",
|
|
31818
|
+
"params": {
|
|
31819
|
+
"targetId": "{rawTarget}"
|
|
31820
|
+
},
|
|
31821
|
+
"session": "browser",
|
|
31822
|
+
"via": "unguarded",
|
|
31823
|
+
"as": "mapped",
|
|
31824
|
+
"requires": [
|
|
31825
|
+
"explicitAttach"
|
|
31826
|
+
]
|
|
31827
|
+
},
|
|
31804
31828
|
{
|
|
31805
31829
|
"cdp": "Target.getTargets",
|
|
31806
31830
|
"params": {},
|
|
@@ -31966,7 +31990,7 @@
|
|
|
31966
31990
|
"dependsOn": []
|
|
31967
31991
|
},
|
|
31968
31992
|
"listed": {
|
|
31969
|
-
"means": "Target.getTargets lists the raw target id",
|
|
31993
|
+
"means": "Target.getTargets lists the raw target id, asked after the unguarded observer used that id",
|
|
31970
31994
|
"check": {
|
|
31971
31995
|
"result": "listed",
|
|
31972
31996
|
"path": "result.targetInfos",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-browsers",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.33.0",
|
|
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-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-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-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",
|
|
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-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-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",
|
|
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,9 +90,9 @@
|
|
|
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.
|
|
94
|
-
"@ai-ecoverse/slicc-shared-web": "2.
|
|
95
|
-
"@biomejs/biome": "2.6.
|
|
93
|
+
"@ai-ecoverse/slicc-cdp": "2.1.17",
|
|
94
|
+
"@ai-ecoverse/slicc-shared-web": "2.17.0",
|
|
95
|
+
"@biomejs/biome": "2.6.8",
|
|
96
96
|
"ajv": "8.20.0",
|
|
97
97
|
"ajv-formats": "3.0.1",
|
|
98
98
|
"lefthook": "2.2.2",
|