@ai-ecoverse/slicc-browsers 1.48.0 → 1.50.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/README.md CHANGED
@@ -151,9 +151,11 @@ Browser control must never navigate to, open, attach to, or read cookies or stor
151
151
  - **the browser's own privileged pages**: `chrome://` and other Chromium browsers' equivalents, `devtools://`, `chrome-extension://` (home to password managers and wallets), `file://` and Chrome's UI targets, bar the new tab page;
152
152
  - **a program's extra seven origins**.
153
153
 
154
- All bindings use the same URL parser and apply the rules after unwrapping URL aliases. An unparseable URL is protected wherever the browser might load it. A tab seven opened keeps seven's origin on `about:blank`. A refused call fails with `slicc: refused: target is on seven's origin`.
154
+ All bindings share a URL parser and unwrap URL aliases. Unparseable URLs are protected wherever they might load. A tab seven opened keeps seven's origin on `about:blank`. A refused call fails with `slicc: refused: target is on seven's origin`.
155
155
 
156
- An extension frame in an ordinary page doesn't protect the tab. The frame 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 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 as one became shown is dropped. Opacity and position don't count as hidden. A race between that check and the CDP reply is accepted. Whole-page captures and new screencasts are refused while any extension frame is in the tab; an active one is stopped or its frames dropped until the frame is gone. These refusals name the extension frame, not seven. The program's own extension frame, like any other protected frame, still protects the whole tab. `protectedOrigins.extensionFrames` lists the schemes, methods and refusals; `protected.mjs` offers `extensionFrame(url)`.
156
+ The engine withholds protected frames, not their ordinary page. Adapters report any mixed state from capture dispatch to release: screenshots and screencasts show Seven but blank other protected boxes; PDFs needing blanking are refused.
157
+
158
+ Foreign extension frames follow separate rules: no attachment, reads, or URLs in discovery, snapshots, accessibility trees or evaluate results. The tab's 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 as one became shown is dropped. Opacity and position don't count as hidden. A race between that check and the CDP reply is accepted. While an extension frame is present, whole-page captures and new screencasts are refused; active screencasts stop or drop frames. These refusals name the extension frame, not seven. `protectedOrigins.extensionFrames` lists the schemes, methods and refusals; `protected.mjs` offers `extensionFrame(url)`.
157
159
 
158
160
  `catalog.json`’s `protectedOrigins` holds the rules. `protected.json` tests them across bindings. `protected.mjs` exposes the engine synchronously:
159
161
 
@@ -218,6 +220,7 @@ You supply:
218
220
 
219
221
  | capability | means the transport can |
220
222
  | --- | --- |
223
+ | `rawCdp` | expose raw CDP commands and sessions (default true; false marks the report and skips raw rows; an all-skipped page API run is incomplete) |
221
224
  | `autoAttach` | auto-attach to child targets |
222
225
  | `protectedFrameDrivable` | keeps an ordinary page drivable while it holds a protected iframe; only that iframe is withheld |
223
226
  | `iframeAutoAttach` | auto-attach non-tab child targets (out-of-process iframes) under a page session |