Skip to content

Commit 679f7b2

Browse files
committed
chore(firefox): Don't upgrade HTTP requests to HTTPS
This is similar to Chrome where it is disabled as well.
1 parent 34cb358 commit 679f7b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/playwright-core/src/server/bidi/third_party/firefoxPrefs.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ function defaultProfilePreferences(
139139
'dom.min_background_timeout_value_without_budget_throttling': 0,
140140
'dom.timeout.enable_budget_timer_throttling': false,
141141

142+
// Disable HTTPS-First upgrades
143+
'dom.security.https_first': false,
144+
142145
// Only load extensions from the application and user profile
143146
// AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION
144147
'extensions.autoDisableScopes': 0,

0 commit comments

Comments
 (0)