Skip to content

Commit

Permalink
fix: remove NetworkServiceInProcess2
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Apr 12, 2024
1 parent 576b417 commit 75fcd42
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion packages/browsers/test/src/chrome/launch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ describe('Chrome', () => {
'--disable-renderer-backgrounding',
'--disable-sync',
'--enable-automation',
'--enable-features=NetworkServiceInProcess2',
'--export-tagged-pdf',
'--force-color-profile=srgb',
'--headless=new',
Expand Down
1 change: 0 additions & 1 deletion packages/browsers/test/src/chromium/launch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ describe('Chromium', () => {
'--disable-renderer-backgrounding',
'--disable-sync',
'--enable-automation',
'--enable-features=NetworkServiceInProcess2',
'--export-tagged-pdf',
'--force-color-profile=srgb',
'--headless=new',
Expand Down
5 changes: 1 addition & 4 deletions packages/puppeteer-core/src/node/ChromeLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,7 @@ export class ChromeLauncher extends ProductLauncher {
}

// Merge default enabled features with user-provided ones, if any.
const enabledFeatures = [
'NetworkServiceInProcess2',
...userEnabledFeatures,
].filter(feature => {
const enabledFeatures = [...userEnabledFeatures].filter(feature => {
return feature !== '';
});

Expand Down

0 comments on commit 75fcd42

Please sign in to comment.