From 3fc4723654298d70cf1ace0f56eeabc3d37ffbe5 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Tue, 13 Dec 2022 20:16:20 +0000 Subject: [PATCH] gluon/firefox: remove unused CLI options --- gluon/browser/firefox.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gluon/browser/firefox.js b/gluon/browser/firefox.js index 7ca28d7..3d4f18d 100644 --- a/gluon/browser/firefox.js +++ b/gluon/browser/firefox.js @@ -64,21 +64,12 @@ user_pref('privacy.window.maxInnerHeight', ${windowSize[1]}); */ `); const proc = spawn(browserPath, [ - // `--window-size=${windowSize.join(',')}`, - // `--remote-debugging-port`, '9228', `--remote-debugging-port=${debugPort}`, `-window-size`, windowSize.join(','), - // `--width=${windowSize[0]}`, - // `--height=${windowSize[1]}` - // '-width', windowSize[0], - // '-height', windowSize[1], `-profile`, dataPath, - // `-P`, `gluon`, `-new-window`, url, - // `-ssb`, url, `-new-instance`, - `-no-remote`, - `-shell` + `-no-remote` ].filter(x => x), { detached: false, stdio: ['ignore', 'pipe', 'pipe', 'pipe', 'pipe']