Skip to content

fix(firefox): disable automatic updates with policies#41385

Open
mturac wants to merge 1 commit into
microsoft:mainfrom
mturac:fix/issue-41356-firefox-update-policy
Open

fix(firefox): disable automatic updates with policies#41385
mturac wants to merge 1 commit into
microsoft:mainfrom
mturac:fix/issue-41356-firefox-update-policy

Conversation

@mturac

@mturac mturac commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Fixes #41356

Summary

  • generate a per-profile Firefox policies file that sets DisableAppUpdate: true before launch
  • preserve user-supplied policies from PLAYWRIGHT_FIREFOX_POLICIES_JSON by merging them into the generated policies file
  • point Firefox at the generated policies file and cover the merge/error paths in launcher tests

Tests

  • npm run ctest -- tests/library/firefox/launcher.spec.ts --project='firefox-*' --workers=1 --reporter=line
  • npm run eslint -- packages/playwright-core/src/server/firefox/firefox.ts packages/playwright-core/src/server/firefox/firefoxPolicies.ts tests/library/firefox/launcher.spec.ts
  • npm run build

@mturac mturac force-pushed the fix/issue-41356-firefox-update-policy branch from 54c5ed0 to ea471f5 Compare June 19, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant