mirror of
https://github.com/daijro/camoufox.git
synced 2026-11-19 00:07:28 +00:00
- One helper, RoverfoxStorageManager::UserContextId(), reads the user context from a principal, node or window. Every per-context lookup used the browsing context instead, which a document from createHTMLDocument() or DOMParser does not have, so a canvas there read context 0, which held whichever context set its values last: a page could see two GPUs (#839) or another context's font list. The setters no longer copy their values into context 0. - UNMASKED_RENDERER_WEBGL and UNMASKED_VENDOR_WEBGL apply stock's fingerprinting-protection checks before the spoofed value, as RENDERER does, so the two never disagree. - system-ui, the CSS2 system fonts and WebRTC's fabricated port use the context's own OS (NavigatorManager::GetSpoofedOS), not the launch's, so a macOS context of a Windows launch no longer resolves Segoe UI. - CamoufoxWindow sizes only windows the driver opens; a page's popup keeps the size it asked for. - camoufox.cfg applies CAMOU_PREFS through the default branch and quits with the reason on stderr when a pref cannot be applied, instead of starting without it. - Delete commented-out prefs; shorten the setter-seal comments into a tribal rule; mark the unread navigator.buildID key removed. - Refresh five patches that only applied with fuzz; the patched tree is byte-identical. - Guards: webgl-renderer-pair covers data and DOMParser documents, two contexts and the unmasked vendor; new context-os-system-font and popup-window-size; startup-prefs covers the loader's failures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>