From 7ffad3e05f11ce28623bc940b48fe364d3498fd9 Mon Sep 17 00:00:00 2001 From: Naeim Taheri <nima.trueway@gmail.com> Date: Sat, 14 Jun 2025 10:43:58 -0700 Subject: [PATCH 1/2] Take browser port configuration into account --- packages/wxt/src/core/runners/web-ext.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/wxt/src/core/runners/web-ext.ts b/packages/wxt/src/core/runners/web-ext.ts index 809b12492..cc1441b62 100644 --- a/packages/wxt/src/core/runners/web-ext.ts +++ b/packages/wxt/src/core/runners/web-ext.ts @@ -43,12 +43,14 @@ export function createWebExtRunner(): ExtensionRunner { ? { firefox: wxtUserConfig?.binaries?.firefox, firefoxProfile: wxtUserConfig?.firefoxProfile, + firefoxPort: wxtUserConfig?.firefoxPort, prefs: wxtUserConfig?.firefoxPrefs, args: wxtUserConfig?.firefoxArgs, } : { chromiumBinary: wxtUserConfig?.binaries?.[wxt.config.browser], chromiumProfile: wxtUserConfig?.chromiumProfile, + chromiumPort: wxtUserConfig?.chromiumPort, chromiumPref: defu( wxtUserConfig?.chromiumPref, DEFAULT_CHROMIUM_PREFS, From 0a8b4bfe06de244fe408dd32e666fe1082535132 Mon Sep 17 00:00:00 2001 From: Naeim Taheri <nima.trueway@gmail.com> Date: Sat, 14 Jun 2025 10:48:37 -0700 Subject: [PATCH 2/2] Update web-ext.ts --- packages/wxt/src/core/runners/web-ext.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/wxt/src/core/runners/web-ext.ts b/packages/wxt/src/core/runners/web-ext.ts index cc1441b62..1b56bec16 100644 --- a/packages/wxt/src/core/runners/web-ext.ts +++ b/packages/wxt/src/core/runners/web-ext.ts @@ -43,7 +43,6 @@ export function createWebExtRunner(): ExtensionRunner { ? { firefox: wxtUserConfig?.binaries?.firefox, firefoxProfile: wxtUserConfig?.firefoxProfile, - firefoxPort: wxtUserConfig?.firefoxPort, prefs: wxtUserConfig?.firefoxPrefs, args: wxtUserConfig?.firefoxArgs, }