Skip to main content

Module browser_signin_list

Module browser_signin_list 

Source
Expand description

The list of saved sign-ins under a login field (SPEC_VAULT_AUTOFILL_IN_BROWSER_PANE_2026_11_14.md §P2.3, the pane-drawn route R4).

The page’s listener tells the host what the person did in a login field (a click, Up or Down, a key the list takes, a press elsewhere) and the host hands it here (credential.FieldOpen, FieldKey, FieldClose). srv owns the list: the rows the tab’s profile holds for exactly that frame’s origin, ordered most recently used first and then by user name; the filter (what a user name field holds, matched as a case-insensitive prefix of the saved user name); and which row is selected. It writes what the pane draws into the block meta LIST_META_KEY: entry ids and masked user names, never a password and never a full user name, so the pane’s own text (which an agent can read) says no more than the key button’s does. Each answer gives the host two booleans, whether a list is showing and whether a row is selected, which it sets in the listener’s world so the listener swallows a key only when it belongs to the list.

The person picking a row is the approval, as for the key button: a click in the pane’s own UI (browser.signin_fill, marked operator-only) or Enter or Tab on the selected row, which the host passes on only while no agent’s input is reaching the pane. A pick types the sign-in through super::browser_signin_fill::fill, or makes a strong password through super::browser_signup::make.

Only https, or http on this computer, and never in an Incognito tab (it keeps no sign-ins).

Structs§

Answer 🔒
What the host is told after each report: whether a list is showing, and whether a row is selected.
Open 🔒
The list the person has open in a pane.
Row 🔒
One saved sign-in in the list: user is the full user name (for the filter, never published).

Enums§

Role 🔒
The kind of login field the person is in.

Constants§

HOST_WAIT 🔒
LIST_META_KEY 🔒
The block meta key the pane reads the open list from.

Statics§

LISTS 🔒

Functions§

answer_of 🔒
close 🔒
The person pressed elsewhere on the page, or the page moved on: no list.
close_from_ui 🔒
The person pressed in the app’s own UI (another pane, the address bar, the tab strip) while the list showed: the page saw no press, so nothing told the listener. Close the list here and tell the host to clear the listener’s state, so the next Up, Down, Escape or Enter in the page’s field is the page’s.
key 🔒
A key the list took: Up, Down, Enter, Tab or Escape.
meta_of 🔒
The meta the pane draws from, or null for no list.
navigated 🔒
Pane block_id’s main frame loaded a new page.
open 🔒
The person clicked, or pressed Up or Down, in a login field of role in pane block_id’s frame of origin; text is what a user name field holds.
pick 🔒
The person chose item at with the keyboard: do what a click on it does. tabbed: with Tab, which moved focus on before this runs, so the fill gives it back to where it went.
register 🔒
browser.signin_list_close, from the window.
reset 🔒
The host registered: lists left in panes by an srv that forgot them go.
rows_for 🔒
The rows pane block_id’s profile can fill into a field of origin, filtered by text when it is a user name field: most recently used first, then by user name.
set_meta 🔒
show 🔒
Show open (or no list) in pane block_id, and answer the host.