[web:tools] disable search engine choice screen in flutter run (#154059)
The choice screen is irrelevant when debugging apps locally. `flutter run` creates a separate user profile for testing only. It doesn't touch users' browser settings. Fixes https://github.com/flutter/flutter/issues/153928
This commit is contained in:
@@ -215,6 +215,12 @@ class ChromiumLauncher {
|
||||
'--no-default-browser-check',
|
||||
'--disable-default-apps',
|
||||
'--disable-translate',
|
||||
|
||||
// Remove the search engine choice screen. It's irrelevant for app
|
||||
// debugging purposes.
|
||||
// See: https://github.com/flutter/flutter/issues/153928
|
||||
'--disable-search-engine-choice-screen',
|
||||
|
||||
if (headless)
|
||||
...<String>[
|
||||
'--headless',
|
||||
|
||||
@@ -29,6 +29,7 @@ const List<String> kChromeArgs = <String>[
|
||||
'--no-default-browser-check',
|
||||
'--disable-default-apps',
|
||||
'--disable-translate',
|
||||
'--disable-search-engine-choice-screen',
|
||||
];
|
||||
|
||||
const List<String> kCodeCache = <String>[
|
||||
|
||||
Reference in New Issue
Block a user