Skip to content

Commit 808f7a1

Browse files
authored
feat: remove --disable-component-update from default args (#5)
1 parent 0b5f96d commit 808f7a1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/extension-runners/chromium.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ import fileExists from '../util/file-exists.js';
2121

2222
const log = createLogger(import.meta.url);
2323

24-
const EXCLUDED_CHROME_FLAGS = ['--disable-extensions', '--mute-audio'];
24+
const EXCLUDED_CHROME_FLAGS = [
25+
'--disable-extensions',
26+
'--mute-audio',
27+
'--disable-component-update',
28+
];
2529

2630
export const DEFAULT_CHROME_FLAGS = ChromeLauncher.defaultFlags().filter(
2731
(flag) => !EXCLUDED_CHROME_FLAGS.includes(flag),

tests/unit/test-extension-runners/test.chromium.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ describe('util/extension-runners/chromium', async () => {
5252
'--disable-features=Translate,OptimizationHints,MediaRouter,DialMediaRouteProvider,CalculateNativeWinOcclusion,InterestFeedContentSuggestions,CertificateTransparencyComponentUpdater,AutofillServerCommunication',
5353
'--disable-component-extensions-with-background-pages',
5454
'--disable-background-networking',
55-
'--disable-component-update',
5655
'--disable-client-side-phishing-detection',
5756
'--disable-sync',
5857
'--metrics-recording-only',

0 commit comments

Comments
 (0)