S063: web pages can't open nacre:// pages; the passwords page asks on every open and isn't kept in the session
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
bf29afb90f
commit
583a92b854
1 changed files with 273 additions and 24 deletions
|
|
@ -115,6 +115,21 @@ extensions replaced by user scripts and styles, the context menu, the download m
|
|||
- Fingerprinting: bits per metric and what privacy mode covers are in `docs/engine/privacy-mode.md` (the Servo-era
|
||||
numbers there are historical).
|
||||
|
||||
## Internal pages (D-049, S063)
|
||||
|
||||
- Nacre's pages (`nacre://…`) are egui, never loaded into a web view, so any `nacre://` navigation a web view asks
|
||||
for comes from web content: a link, middle click, `target=_blank`, `window.open`, script, frame, meta refresh or
|
||||
HTTP redirect. The rule is `tabs::web_may_open`; it is enforced in the engine's `decide-policy` (`engine/host.rs`,
|
||||
denied with one log line), again in `App::on_navigation` and `on_create_new` (backstops), and for the page's
|
||||
context menu links (`MenuAction::OpenLink`). The one exception is `nacre://allowcert`, the certificate warning's
|
||||
"Open anyway", taken only from the tab showing that warning.
|
||||
- The user opens them: address bar, menus, buttons, shortcuts, bookmarks, command line (`Command::Open` /
|
||||
`Navigate` / `ShowPage`).
|
||||
- `nacre://passwords` asks first every time it is shown (master password, or a "Show passwords" click without one),
|
||||
even while the vault is unlocked for autofill. When a frame draws without it (another tab, page, the tab closed)
|
||||
`PageState::close_passwords` forgets the answer and every field it showed or took. It is saved and restored as a
|
||||
new tab (`session::kept_url`).
|
||||
|
||||
## Media
|
||||
|
||||
Playback is WebKit's own (GStreamer) including Media Source Extensions; `tests/smoke/mse*.txt` are plain MSE tests.
|
||||
|
|
|
|||
Loading…
Reference in a new issue