From 4e2515bc645befafc4211e33d07201fc4e3dff9e Mon Sep 17 00:00:00 2001 From: Jake Writer Date: Thu, 22 Oct 2026 16:30:26 -0600 Subject: [PATCH] Leave EME at the build's default for Windows identities Windows Firefox has PlayReady behind EME; a Linux build cannot supply it, so turning media.eme.enabled on claimed more than the build delivers. The pref is no longer among the Windows behaviour defaults, and the Python and TypeScript tests now require that it is left alone. Co-Authored-By: Claude Opus 5.5 --- docs/HOST-PARITY.md | 2 +- python/src/camoufox/launcher-constants.json | 1 - python/src/camoufox/utils.py | 5 ++--- python/tests/test_windows_identity.py | 8 +++++++- typescript/tests/launch.test.ts | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/HOST-PARITY.md b/docs/HOST-PARITY.md index caa85286..dd55b846 100644 --- a/docs/HOST-PARITY.md +++ b/docs/HOST-PARITY.md @@ -8,7 +8,7 @@ the host. This lists each one, what a page reads, and how it is closed. |---|---|---|---| | Math from the host's libm | `Math.sin/cos/tan/pow` differ from Windows in the last bit (sin 22, cos 26, tan 30 of 1,670 inputs; pow 45 of 1,410) | the algorithms the Windows CRT uses (`javascript.options.use_ucrt_math`): Tang's table-driven log and exp for pow, Cody-Waite and Payne-Hanek reduction with AMD LibM's kernels for sin/cos/tan, tables generated from their definitions (`browser/scripts/gen-ucrt-math-tables.py`); checked bit for bit against outputs recorded from `ucrtbase.dll` (`browser/tests/ucrt-math/`) and from Windows Firefox | `windows-crt-math.patch`, launcher | | GTK keyboard | Ctrl+Up in `