mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: remove NetworkServiceInProcess2 set by default (#12261)
Puppeteer has relied on this flag for a [long time](https://github.com/puppeteer/puppeteer/pull/3738) but it looks like it is not required anymore and it might lead to crashes in the latest versions of Chrome for desktop. This CL removes the flag. Issue #12257
This commit is contained in:
parent
576b417216
commit
ff4f70f4ae
@ -77,7 +77,6 @@ describe('Chrome', () => {
|
|||||||
'--disable-renderer-backgrounding',
|
'--disable-renderer-backgrounding',
|
||||||
'--disable-sync',
|
'--disable-sync',
|
||||||
'--enable-automation',
|
'--enable-automation',
|
||||||
'--enable-features=NetworkServiceInProcess2',
|
|
||||||
'--export-tagged-pdf',
|
'--export-tagged-pdf',
|
||||||
'--force-color-profile=srgb',
|
'--force-color-profile=srgb',
|
||||||
'--headless=new',
|
'--headless=new',
|
||||||
|
@ -77,7 +77,6 @@ describe('Chromium', () => {
|
|||||||
'--disable-renderer-backgrounding',
|
'--disable-renderer-backgrounding',
|
||||||
'--disable-sync',
|
'--disable-sync',
|
||||||
'--enable-automation',
|
'--enable-automation',
|
||||||
'--enable-features=NetworkServiceInProcess2',
|
|
||||||
'--export-tagged-pdf',
|
'--export-tagged-pdf',
|
||||||
'--force-color-profile=srgb',
|
'--force-color-profile=srgb',
|
||||||
'--headless=new',
|
'--headless=new',
|
||||||
|
@ -192,7 +192,7 @@ export class ChromeLauncher extends ProductLauncher {
|
|||||||
|
|
||||||
// Merge default enabled features with user-provided ones, if any.
|
// Merge default enabled features with user-provided ones, if any.
|
||||||
const enabledFeatures = [
|
const enabledFeatures = [
|
||||||
'NetworkServiceInProcess2',
|
// Add features to enable by default here.
|
||||||
...userEnabledFeatures,
|
...userEnabledFeatures,
|
||||||
].filter(feature => {
|
].filter(feature => {
|
||||||
return feature !== '';
|
return feature !== '';
|
||||||
|
Loading…
Reference in New Issue
Block a user