Repository navigation
Conversation
2216c11 to
d22339a
Compare
d22339a to
b17a697
Compare
d1e50e1 to
ad96515
Compare
ad96515 to
5d7390a
Compare
5d7390a to
d5af2ac
Compare
d5af2ac to
8aba095
Compare
bef7d0d to
6d59260
Compare
6d59260 to
2609608
Compare
2609608 to
dd85caa
Compare
|
Closing because this route WebContents quarantine stage is already implemented on main ( Main retains exact Session recognition, deny-before-admission guest quarantine, blank registration, copied page/renderer/partition identity, opaque authority tokens, separate navigation grant, repeated authority checks, 256-guest bound, and exact destroyed cleanup in the route guest/session registries and extracted lifecycle/registration modules. All 16 introduced test names remain in the current suites. The later bounded route-popup controller supersedes unconditional popup refusal only for specifically authorized popups; quarantined/rejected guests and stale authorities retain the denial behavior and original regression coverage. Validation: the six current partition/session/WebContents/main-window suites passed 106 tests with |
Summary
Adds the next inert STA-4150 layer on top of #14516:
Causal evidence
The first candidate had three deterministic failure modes found during fresh review: a page release between will-attach and did-attach could leave the generic HTTP(S)/popup policy active; delayed or throwing admission closure could leave a rejected guest usable; and re-preparing the same logical tuple could revive a stale grant. Focused tests now pin all three cases plus mutable-input, inspection-race, page-conflict, attachment-cap, and destroyed-listener cleanup behavior.
Validation
Compatibility and rollout
No exchanged field, RPC, capability advertisement, persisted schema, renderer IPC, or production page-preparation/registration/grant caller changes in this PR. Existing local/server/offscreen browsers, older clients, SSH/WSL routes, folder workspaces, and git worktrees retain current placement and behavior. Normal browser Sessions do one bounded lookup and remain on the existing policy path.
This PR must remain inert. Activation still requires exact release/crash teardown, authenticated main-owned registration, real Electron ordering and traffic proof, persisted-worker and network-service recovery, UDP/QUIC/DoH/WebRTC containment, headed/headless/browserless journeys, and physical macOS/Linux/Windows coverage.
Linear: https://linear.app/stably/issue/STA-4150/refactor-remote-browser-to-client-hosted-electron-webviews
Stack: #14471
Parent: #14516