mirror of
https://github.com/daijro/camoufox.git
synced 2026-10-03 08:00:19 +00:00
Shipping distribution/policies.json puts Firefox in enterprise-policy
mode, and since Firefox 151 that mode sets the default of
dom.webserial.enabled to false (EnterprisePoliciesParent.sys.mjs). So
navigator.serial, Serial and SerialPort are missing, while stock
Firefox 152 exposes them on secure pages (the pref defaults to true on
desktop). A page can see the difference.
DefaultSerialGuardSetting: 3 sets the default back to true without
locking it (Policies.sys.mjs). stock-parity-probes.py now checks that
navigator.serial exists on its secure-context probe page.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
(cherry picked from commit 6f5e1e4c03)