Expand description
The sites an agent’s browser pane may go to, when the agent limited it
with OpenBrowser({allowed_origins})
(docs/specs/SPEC_BROWSER_PANE_ALLOWED_ORIGINS_2026_10_09.md §2).
Shared by srv, which checks the list it is given and re-checks every
request, and the CEF host, which stops a navigation off the list before it
happens. A list is kept in its normal form (parse): https://example.com,
https://*.example.com, http://localhost:3000.
Constants§
- MAX_
ENTRIES - Most entries one pane’s list may have.
Functions§
- allows
- May a pane limited to
list(normal form) go tourl?about:pages always; any other address with no web origin, never. - parse
entryin its normal form, or why it isn’t a valid entry:- parse_
list - Parse every entry of
entries, deduplicated, in order. Fails on the first bad entry, or pastMAX_ENTRIES. - target_
origin - The origin a navigation to
urlgoes to, as an entry would name it exactly (ablob:URL’s is the origin it belongs to).Nonefor an address with no such origin (about:,data:).