Expand description
Which cookie jar a browser tab browses as: its block’s browser:identity
(docs/specs/SPEC_BROWSER_PANE_PROFILES_MENU_2026_10_09.md §5–§6). Absent
for Personal; incognito:<jar> for an in-memory jar of its own, which the
CEF host makes on first use. Set when the tab is opened and never changed:
to browse as someone else, open another tab.
Constants§
- IDENTITY_
META_ 🔒KEY - MAX_
INCOGNITO_ 🔒JARS - Most Incognito jars open at once: each is its own Chrome profile with its own renderer (identities spec §4.3). The host keeps the same cap.
Functions§
- agent_
may_ 🔒use - May the agent
owner(seeprofile_owner) browse asp: its own profile, or one the user lets agents use. - asks_
for_ 🔒own - Whether
requested(anOpenBrowserprofile) asks for the agent’s own profile, which srv makes the first time. - browsing_
as 🔒 - Whose sign-ins a pane with
metabrowses with, in words: “personal” (no identity), “incognito” (a jar of its own) or the named profile. WhatOpenBrowsertells the agent that opened it. - check_
agent_ 🔒may_ use - An agent opening a browser tab some other way (
pane.open, the HTTP pane open) with abrowser:identity: a named profile only if it is the agent’s own or agents may use it. - check_
new_ 🔒tab - Check the identity a client gives a new browser tab (
pane.open): an Incognito one that is well formed, within the cap unless it shares a jar already open. Anything else fails the open rather than quietly browsing in the shared jar. - for_
agent_ 🔒open OpenBrowser’sprofile: give the agent’s new tab the identity it asked for, checked like any new tab (the platform, the Incognito cap). With nothing asked, every agent, native or container, browses as its own profile (requested_by_containerfor the container’s other rules).- for_
agent_ 🔒pane - A new pane for the agent
(id, allowed sites, profile asked for, from a container): owned by it, limited to its sites, and browsing as the identity it gets (for_agent_open). Returns whom it browses as, in words. - identity_
for_ 🔒agent - The identity an agent’s
OpenBrowserasked for byprofilebrowses as: its own profile for nothing, “” or “own” (made by srv before this, seeapp_api::browser_profiles::ensure_agent_profile); none (Personal) for “personal”; a fresh Incognito jar for “incognito”, always allowed since it gives the agent less, not more; and a named profile (by name, any case, or id): the agent’s own, or one the user switched on “Agents may use it” for in Settings → Browser (docs/specs/SPEC_AGENT_OWN_BROWSER_PROFILE_2026_11_04.md). - identity_
of 🔒 - in_
container 🔒 - Whether pane
block_idis a container agent’s: whatever key it asks with, what it opens is not the user’s own. - inherit 🔒
- A popup pane browses as the tab that opened it: same jar, so a sign-in in it signs in the tab.
- is_
incognito 🔒 - Is
identitya well-formed Incognito identity? - jars_
available 🔒 - How many more Incognito jars a layout replay may open: the cap less those open now (none when they can’t be counted).
- live_
jars 🔒 - The Incognito identities blocks use now: the jars the host must keep.
Nonewhen the store can’t be read: the host then keeps every jar, rather than taking an empty list as “no tab uses any” and signing them all out. - profile_
id 🔒 - The profile id of a
profile:<id>identity. - profile_
ids 🔒 - The ids of the named profiles there are, or
Nonewhen they can’t be read. - profile_
owner 🔒 - Who owns an agent’s own browser profile: its uid, which a rename keeps, else (an agent srv does not know by a uid) the name it calls itself.
- refresh_
for_ 🔒replay - For a layout being replayed: each Incognito identity becomes a fresh one,
so the replay doesn’t share a jar with a tab still open. Tabs that shared
a jar keep sharing one.
freshmaps old to new across the replay; at mostavailablefresh jars are made. Returns false for a tab that would need one more: it is left out of the replay, not opened as a blank pane or in the shared jar. - requested_
by_ 🔒container - What a container agent’s
profileasks for, once its defaults are applied. A container agent exists to be isolated from the user’s own sign-ins, so with nothing asked it gets its own profile, never Personal; it browses as another named profile only when the user lets agents use that profile (the checkidentity_for_agentmakes for every agent). - requested_
or_ 🔒own - The
profilean agent’s open is carried out with. With none asked for, the agent browses as its own: made here, the first time. If it can’t be made (the shared folder is given up to an older srv), a fresh Incognito jar, never the user’s Personal.