Nacre/docs/REVIEW.md
astar76 c91795ca69 S005: one painter per window (D-008); PiP in its own web view
All tabs of a window share one offscreen context and so one Servo painter.
Picture in picture loads the page again in a web view with a painter of its
own and seeks the video; the tab resumes from the PiP time on exit. The PiP
video froze because Servo 0.7 stalls a playing video that is seeked and then
play()ed; pip.start now pauses before seeking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 19:14:32 -06:00

1.4 KiB

Review notes

Things to check or fix in the review passes before the first build. Remove an item when it is done.

  • discord.rs on Windows: named-pipe reads block (no read timeout on File). Read only during the handshake there, or use a reader thread.
  • Servo can't add request headers or strip cookies per request, so "Send Do Not Track & GPC" only sets navigator.globalPrivacyControl/doNotTrack in pages, and "Block third-party cookies" is not possible. Settings must say so (shown as "partial" / "not available with this engine").
  • Servo's request interceptor holds a global lock while the embedder answers: load_web_resource must answer synchronously, never keep a WebResourceLoad waiting.
  • Intercepted responses skip redirect handling, so HTTPS-only and tracking-parameter stripping serve a tiny page that calls location.replace() instead of a 30x.
  • Google sign-in quirk: the user agent is a global pref; switching it for accounts.google.com affects requests of other tabs made at that moment.
  • Settings → Downloads "Save to" and the new tab image picker open rfd dialogs on the main thread, which stalls page rendering while they are open. Move them to App::spawn like the other file dialogs.
  • Autofill fills logins with evaluate_javascript, which runs in the top document only: login forms inside iframes are captured (their own script reports them) but can't be filled yet.