Skip to main content

Module browser_account

Module browser_account 

Source
Expand description

Browser generate_password: an agent makes an account with a password the Vault makes (SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §7).

The agent names the new-password field of a sign-up form by a reference from its snapshot. The host finds it and says which site’s frame it is in (signup_probe: from its own frame map, never the page). The person is asked in the Vault’s own prompt, a window modal outside every pane, which no UI click reaches: “Allow once”, “Always for on ” or “Deny”. Always is kept as the accounts kind of a site permission (browser_site_permissions.rs), listed in Settings > Browser, where the person revokes it; with it the question is skipped and the countdown stays. Silence is still a no, and an Incognito tab never offers Always. Then the pane shows “ is creating an account on [Stop]” for 10 seconds, and only then is the password made, kept in the Vault as an unconfirmed login of the tab’s profile, and typed into the field and its confirm field, as for the person’s own “Use a strong password” (browser_signup.rs). The agent is told the entry and the site, never the value, and then fills the other fields itself and clicks the form’s button, which asks as any committing click does.

A form that also asks for the current password is a password change (§7.3): it goes to super::browser_change, which asks the person every time and keeps the new password pending beside the saved one. In an Incognito tab, which keeps no sign-ins, a new account’s password is kept in Personal, tagged (§9.2).

Structs§

AccountRequest 🔒
Probed 🔒
What the host told of the field.

Constants§

ANSWER_WAIT 🔒
How long the person has to answer.
BUSY 🔒
What the agent is told when another notice shows on the pane.
HOST_WAIT 🔒
MADE 🔒
What the Activity line is called.
MAX_USERNAME 🔒
The longest user name the agent may give.
NOTICE 🔒
How long the notice shows before the password is made and typed.

Functions§

approve 🔒
Ask the person, unless they have said “Always” for this agent on this site (not in an Incognito tab); Ok(true) when nobody answered and it went ahead.
clip_username 🔒
handle_generate_password 🔒
POST /api/v1/ui/browser/generate_password.
not_allowed 🔒
What an answer that is not a yes means: the HTTP status, how the pane’s note records it, and what the agent is told. what is what only the person’s yes allows (“an agent makes an account”).
probed 🔒
refused_line 🔒
An Activity line for a use that ended before any entry was made.
use_request 🔒