Skip to content

Commit

Permalink
fix(deps): update dependency chrome-launcher to v0.14.0 (#2252)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency chrome-launcher to v0.14.0

* chore: Updated expectedFlags in test.chromium.js to match the default flags set by chrome-launcher 0.14.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Luca Greco <lgreco@mozilla.com>
  • Loading branch information
3 people committed Jun 1, 2021
1 parent f068f9f commit 82e94d1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
29 changes: 12 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -62,7 +62,7 @@
"addons-linter": "3.6.0",
"bunyan": "1.8.15",
"camelcase": "6.2.0",
"chrome-launcher": "0.13.4",
"chrome-launcher": "0.14.0",
"debounce": "1.2.0",
"decamelize": "5.0.0",
"es6-error": "4.1.1",
Expand Down
9 changes: 7 additions & 2 deletions tests/unit/test-extension-runners/test.chromium.js
Expand Up @@ -54,11 +54,13 @@ function prepareExtensionRunnerParams({params} = {}) {
describe('util/extension-runners/chromium', async () => {

it('uses the expected chrome flags', () => {
// Flags from chrome-launcher v0.12.0
// Flags from chrome-launcher v0.14.0
const expectedFlags = [
'--disable-features=TranslateUI',
'--disable-features=Translate',
'--disable-component-extensions-with-background-pages',
'--disable-background-networking',
'--disable-component-update',
'--disable-client-side-phishing-detection',
'--disable-sync',
'--metrics-recording-only',
'--disable-default-apps',
Expand All @@ -67,6 +69,9 @@ describe('util/extension-runners/chromium', async () => {
'--disable-backgrounding-occluded-windows',
'--disable-renderer-backgrounding',
'--disable-background-timer-throttling',
'--disable-ipc-flooding-protection',
'--password-store=basic',
'--use-mock-keychain',
'--force-fieldtrials=*BackgroundTracing/default/',
];

Expand Down

0 comments on commit 82e94d1

Please sign in to comment.