WEFT_OS/crates/weft-servo-shell
Marco Allegretti 16a184ad9e
fix(app-shell): close the remaining paths out of the application page
Review of the renderer policy found loads it did not see or judged
wrongly:

- Loads Servo does not attribute to the webview, such as
  navigator.sendBeacon(), reached the network. They are all refused.
- On a redirect Servo reports the first URL again, so every redirect
  is refused.
- A symbolic link inside the UI directory led anywhere on disk; file
  loads are checked again after resolving links.
- Only about:blank is allowed among about: URLs.

The Servo pin moves to 5d90f51, which keeps compiled classic scripts
rooted until they run (a parser-blocking script waiting for a failed
stylesheet import crashed the content process) and withholds
navigator.servo from about:blank and about:srcdoc documents.

The confinement check gains probes for links, workers, beacons,
imports, fonts and srcdoc frames, and its WebSocket server completes
the handshake. The slow stylesheet's delay now starts when the host
first tries to open it.
2026-10-09 10:03:30 +00:00
..
src fix(appd): authorize WebSocket clients by role and session 2026-10-09 07:45:49 +00:00
Cargo.toml fix(app-shell): close the remaining paths out of the application page 2026-10-09 10:03:30 +00:00
SERVO_PIN.md fix(app-shell): close the remaining paths out of the application page 2026-10-09 10:03:30 +00:00