@ai-ecoverse/slicc-browsers 1.9.0 → 1.9.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 +3 -0
- package/guard-vectors.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -443,6 +443,9 @@ invocation: controls must pass and guarded protection expectations must fail; th
|
|
|
443
443
|
target use `GUARD_TARGET=seven npm run test:guard-target`. The fixture also serves
|
|
444
444
|
`/live` image requests from stand-in documents, independently of injected code.
|
|
445
445
|
|
|
446
|
+
The integration launcher owns each Chrome process group and temporary profile. `close()` terminates the group, escalates to SIGKILL if necessary and removes the profile; node:test workers also register an after hook for every launch. Process exit, uncaught errors, SIGINT, SIGTERM and SIGHUP reap tracked groups synchronously. An independent POSIX watchdog watches the runner’s pipe and reaps Chrome and its profile even if the runner receives SIGKILL. `launch(fixture, { signal })` also accepts a test’s AbortSignal for timeout cleanup. `guard-lifecycle.test.mjs` interrupts real runner subprocesses and checks every Chrome PID returned by CDP’s `SystemInfo.getProcessInfo` plus profile removal, without consulting a host-wide process list.
|
|
447
|
+
|
|
448
|
+
|
|
446
449
|
```js
|
|
447
450
|
import set from '@ai-ecoverse/slicc-browsers/guard-vectors.json' with { type: 'json' };
|
|
448
451
|
import { run } from '@ai-ecoverse/slicc-browsers/guard-runner';
|
package/guard-vectors.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-browsers",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.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",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"trust:dry": "npx fledgling sync --dry-run -y --skip-publish",
|
|
67
67
|
"release": "semantic-release",
|
|
68
68
|
"test:guard": "npm run test:guard-integration && npm run test:guard-sweep",
|
|
69
|
-
"test:guard-integration": "node --test --test-concurrency=2 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-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-scales.test.mjs",
|
|
69
|
+
"test:guard-integration": "node --test --test-concurrency=2 test/integration/guard-lifecycle.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-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-scales.test.mjs",
|
|
70
70
|
"test:guard-sweep": "node scripts/test-guards.mjs",
|
|
71
71
|
"test:gates": "node --test test/integration/gates.test.mjs",
|
|
72
72
|
"test:guard-target": "node --test test/integration/guard-runner.test.mjs",
|