@ai-ecoverse/slicc-browsers 1.36.1 → 1.36.3
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 +2 -2
- package/extension-frame.mjs +64 -12
- package/guard-driver.mjs +6 -1
- package/guard-runner.mjs +10 -2
- package/guard-vectors.json +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ The process scan finds browsers that something else started with `--remote-debug
|
|
|
113
113
|
|
|
114
114
|
### SLICC six's profiles
|
|
115
115
|
|
|
116
|
-
SLICC six, the previous generation, launches Chrome in a profile of its own. Discovery lists such an endpoint, marks it `six: true` and ranks it last, but **never picks it by itself**. Only an explicit request
|
|
116
|
+
SLICC six, the previous generation, launches Chrome in a profile of its own. Discovery lists such an endpoint, marks it `six: true` and ranks it last, but **never picks it by itself**. Only an explicit request uses it. The roots per OS are in `catalog.json`'s `profiles.six`.
|
|
117
117
|
|
|
118
118
|
## The corpus
|
|
119
119
|
|
|
@@ -234,7 +234,7 @@ You supply:
|
|
|
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 |
|
|
237
|
-
| `browserStorage` | send `Storage.*` there too (needs `browserSession`) |
|
|
237
|
+
| `browserStorage` | send `Storage.*` there too (needs `browserSession`); `browserSession` without it skips the rows with cookie `Storage.*` steps |
|
|
238
238
|
| `browserContexts` | create isolated browser contexts |
|
|
239
239
|
| `discovery` | report target create/change without a session |
|
|
240
240
|
| `chromeUrlsAttach` | attach to `chrome://` pages (DevTools-port CDP; not `chrome.debugger`) |
|
package/extension-frame.mjs
CHANGED
|
@@ -190,15 +190,49 @@ async function click(client, reader, session, observer, { side, missing, name =
|
|
|
190
190
|
return { out: pressed.out, ok: 'incomplete' };
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
193
|
+
const KEY_TRIES = 3;
|
|
194
|
+
const KEY_STEP_MS = 100;
|
|
195
|
+
const KEY_ERROR_CAP = 200;
|
|
196
|
+
const KEY_FOCUS = 'const i = document.getElementById("typed"); i.value = ""; i.focus(); true';
|
|
197
|
+
const KEY_READ = 'document.getElementById("typed").value === "k"';
|
|
198
|
+
const keyError = (out) =>
|
|
199
|
+
(refusal(out) || 'transport error')
|
|
200
|
+
.replace(/[a-z][a-z0-9+.-]*:\/\/[^\s"'<>]*/gi, '<url>')
|
|
201
|
+
.slice(0, KEY_ERROR_CAP);
|
|
202
|
+
|
|
203
|
+
async function key(
|
|
204
|
+
client,
|
|
205
|
+
reader,
|
|
206
|
+
session,
|
|
207
|
+
observer,
|
|
208
|
+
{ beforeSend, requireTyped = true, side, missing, notes } = {}
|
|
209
|
+
) {
|
|
210
|
+
const measured = side === 'control' && Array.isArray(missing);
|
|
211
|
+
const retry = measured && requireTyped;
|
|
212
|
+
const started = Date.now();
|
|
213
|
+
let tries = 0;
|
|
214
|
+
let out;
|
|
215
|
+
let typed;
|
|
216
|
+
do {
|
|
217
|
+
if (tries) await pause(KEY_STEP_MS);
|
|
218
|
+
tries += 1;
|
|
219
|
+
await observe(reader, observer, KEY_FOCUS);
|
|
220
|
+
if (beforeSend) await beforeSend();
|
|
221
|
+
out = await outcome(client.send('Input.insertText', { text: 'k' }, session));
|
|
222
|
+
typed = await observe(reader, observer, KEY_READ);
|
|
223
|
+
} while (retry && out.ok && typed !== true && tries < KEY_TRIES);
|
|
224
|
+
if (tries > 1)
|
|
225
|
+
notes?.push(
|
|
226
|
+
`key: ${typed === true ? 'delivered' : 'not delivered'} after ${tries} tries in ${Date.now() - started}ms`
|
|
227
|
+
);
|
|
228
|
+
if (measured && !out.ok && !protectedRefusal(out)) {
|
|
229
|
+
missing.push(`key: ${keyError(out)}`);
|
|
230
|
+
return { out, ok: 'incomplete' };
|
|
231
|
+
}
|
|
232
|
+
if (retry && out.ok && typed !== true) {
|
|
233
|
+
missing.push('key: text was not delivered');
|
|
234
|
+
return { out, ok: 'incomplete' };
|
|
235
|
+
}
|
|
202
236
|
return { out, ok: out.ok && (!requireTyped || typed === true) };
|
|
203
237
|
}
|
|
204
238
|
|
|
@@ -896,7 +930,18 @@ async function holdFocus(reader, frame) {
|
|
|
896
930
|
}
|
|
897
931
|
}
|
|
898
932
|
|
|
899
|
-
async function driveInput(
|
|
933
|
+
async function driveInput(
|
|
934
|
+
client,
|
|
935
|
+
reader,
|
|
936
|
+
page,
|
|
937
|
+
observer,
|
|
938
|
+
inputList,
|
|
939
|
+
mode,
|
|
940
|
+
frame,
|
|
941
|
+
missing,
|
|
942
|
+
side,
|
|
943
|
+
notes
|
|
944
|
+
) {
|
|
900
945
|
const visible = await observe(
|
|
901
946
|
reader,
|
|
902
947
|
observer,
|
|
@@ -962,7 +1007,13 @@ async function driveInput(client, reader, page, observer, inputList, mode, frame
|
|
|
962
1007
|
await refocus();
|
|
963
1008
|
const pressed = await click(client, reader, page, observer, { side, missing });
|
|
964
1009
|
await refocus();
|
|
965
|
-
const typed = await key(client, reader, page, observer,
|
|
1010
|
+
const typed = await key(client, reader, page, observer, {
|
|
1011
|
+
beforeSend: refocus,
|
|
1012
|
+
requireTyped: mode !== 'focused',
|
|
1013
|
+
side,
|
|
1014
|
+
missing,
|
|
1015
|
+
notes,
|
|
1016
|
+
});
|
|
966
1017
|
await refocus();
|
|
967
1018
|
const inputs = await inputMethods(
|
|
968
1019
|
client,
|
|
@@ -1672,7 +1723,8 @@ export async function extensionFrame({
|
|
|
1672
1723
|
mode,
|
|
1673
1724
|
frame,
|
|
1674
1725
|
missing,
|
|
1675
|
-
side
|
|
1726
|
+
side,
|
|
1727
|
+
notes
|
|
1676
1728
|
);
|
|
1677
1729
|
const captures = await driveCaptures(client, page, missing);
|
|
1678
1730
|
const result = frameObservations({
|
package/guard-driver.mjs
CHANGED
|
@@ -78,6 +78,9 @@ const cookieStorageStep = (step) =>
|
|
|
78
78
|
export const browserStorageStep = (step, capabilities) =>
|
|
79
79
|
cookieStorageStep(step) && has(capabilities, 'browserStorage');
|
|
80
80
|
|
|
81
|
+
export const cookieStorageRow = (vector) =>
|
|
82
|
+
flatten([...(vector?.setup ?? []), ...(vector?.trigger ?? [])]).some(cookieStorageStep);
|
|
83
|
+
|
|
81
84
|
export const browserContextStep = (vector, capabilities) =>
|
|
82
85
|
flatten([...(vector?.setup ?? []), ...(vector?.trigger ?? [])]).some(
|
|
83
86
|
(step) =>
|
|
@@ -401,7 +404,8 @@ const autoAttachCaps = ['autoAttach', 'stockSetup', 'syntheticAutoAttach'];
|
|
|
401
404
|
|
|
402
405
|
const needsBrowser = (vector, cap, declared) =>
|
|
403
406
|
(vector?.requires ?? []).includes(cap) ||
|
|
404
|
-
(cap === 'browserSession' && browserContextStep(vector, declared))
|
|
407
|
+
(cap === 'browserSession' && browserContextStep(vector, declared)) ||
|
|
408
|
+
(cap === 'browserStorage' && declared.includes('browserSession') && cookieStorageRow(vector));
|
|
405
409
|
|
|
406
410
|
function skipWhy(vector, row, known, guard, declared) {
|
|
407
411
|
const { reason } = row;
|
|
@@ -445,6 +449,7 @@ function forgeries(set, results, guard, capabilitiesList) {
|
|
|
445
449
|
const declared = declaredCapabilities(capabilitiesList);
|
|
446
450
|
const known = new Set([
|
|
447
451
|
'browserSession',
|
|
452
|
+
'browserStorage',
|
|
448
453
|
'unguarded-observer',
|
|
449
454
|
'trustedEmulation',
|
|
450
455
|
...capabilities(set.vectors).filter((c) => typeof c === 'string' && c !== ''),
|
package/guard-runner.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
browserContextStep,
|
|
15
15
|
browserStorageStep,
|
|
16
16
|
canary,
|
|
17
|
+
cookieStorageRow,
|
|
17
18
|
debuggerCleanup,
|
|
18
19
|
debuggerPaused,
|
|
19
20
|
expand,
|
|
@@ -3293,6 +3294,12 @@ async function executeRow(job, opts, made, set, slot, index, flights) {
|
|
|
3293
3294
|
live: 'skip',
|
|
3294
3295
|
reason: 'not-supported:browserSession',
|
|
3295
3296
|
};
|
|
3297
|
+
if (
|
|
3298
|
+
declared('browserSession', opts.capabilities) &&
|
|
3299
|
+
!declared('browserStorage', opts.capabilities) &&
|
|
3300
|
+
cookieStorageRow(vector)
|
|
3301
|
+
)
|
|
3302
|
+
return skipRow(base, 'not-supported:browserStorage');
|
|
3296
3303
|
const observerReason = observerSkip(vector, opts, made, clients);
|
|
3297
3304
|
if (observerReason) return skipRow(base, observerReason);
|
|
3298
3305
|
const legs = {};
|
|
@@ -3680,10 +3687,11 @@ export function summary({ set, results, guard = 'reference', sha = 'unknown', ca
|
|
|
3680
3687
|
: line;
|
|
3681
3688
|
const caps = capabilities ?? {};
|
|
3682
3689
|
const storageUndeclared = declared('browserSession', caps) && !declared('browserStorage', caps);
|
|
3690
|
+
const counted = incomplete ? `${skipLine} incomplete ${incomplete}` : skipLine;
|
|
3683
3691
|
return {
|
|
3684
3692
|
...value,
|
|
3685
3693
|
pass: value.pass && observerSkipped === 0,
|
|
3686
|
-
line:
|
|
3694
|
+
line: storageUndeclared ? `${counted} browserStorage undeclared` : counted,
|
|
3687
3695
|
skips,
|
|
3688
3696
|
observerSkipped,
|
|
3689
3697
|
incomplete,
|
|
@@ -3691,7 +3699,7 @@ export function summary({ set, results, guard = 'reference', sha = 'unknown', ca
|
|
|
3691
3699
|
? {
|
|
3692
3700
|
browserStorageUndeclared: true,
|
|
3693
3701
|
browserStorageNote:
|
|
3694
|
-
'browserStorage undeclared: page-or-browser Storage.getCookies, Storage.setCookies
|
|
3702
|
+
'browserStorage undeclared: rows with a page-or-browser Storage.getCookies, Storage.setCookies or Storage.clearCookies step skipped as not-supported:browserStorage',
|
|
3695
3703
|
}
|
|
3696
3704
|
: {}),
|
|
3697
3705
|
counts: Object.fromEntries(
|
package/guard-vectors.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"setVersion": "1.36.
|
|
3
|
+
"setVersion": "1.36.3",
|
|
4
4
|
"sources": [
|
|
5
5
|
{
|
|
6
6
|
"repo": "ai-ecoverse/slicc-cli",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"capabilities": {
|
|
103
103
|
"autoAttach": "Target.setAutoAttach, the children steps and child sessions",
|
|
104
104
|
"browserSession": "session-less Target.* and Browser.* calls on the browser session; session-less Storage.* there is browserStorage",
|
|
105
|
-
"browserStorage": "session-less Storage.* calls on the browser session, with or without browserContextId; needs browserSession;
|
|
105
|
+
"browserStorage": "session-less Storage.* calls on the browser session, with or without browserContextId; needs browserSession; a run that declares browserSession without browserStorage skips every row with a page-or-browser Storage.getCookies, Storage.setCookies or Storage.clearCookies step as not-supported:browserStorage; a run that declares neither sends those steps on the row's page session",
|
|
106
106
|
"browserContexts": "Target.createBrowserContext and Target.disposeBrowserContext",
|
|
107
107
|
"extensionWorld": "a browser hosting a foreign content-script extension isolated world on the ordinary fixture page",
|
|
108
108
|
"extensionFrame": "a browser hosting the harness extension, whose web-accessible frame.html an ordinary page embeds as an out-of-process chrome-extension: frame, like a password manager's autofill list",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-browsers",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.3",
|
|
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-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-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.
|
|
93
|
+
"@ai-ecoverse/slicc-cdp": "2.1.21",
|
|
94
94
|
"@ai-ecoverse/slicc-shared-web": "2.17.0",
|
|
95
95
|
"@biomejs/biome": "2.6.8",
|
|
96
96
|
"ajv": "8.20.0",
|