[web:tools] disable search engine choice screen in flutter run#154059
[web:tools] disable search engine choice screen in flutter run#154059auto-submit[bot] merged 1 commit intoflutter:masterfrom
Conversation
| // 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', |
There was a problem hiding this comment.
Weren't there other places (i.e. where we have --no-default-browser-check as well) that could also benefit from this?
(for example the web benchmarks?)
There was a problem hiding this comment.
Good point. I should have checked more carefully. However, now that I did check, it doesn't seem like it's necessary in those other places. The benchmark code is ad hoc for Flutter's own testing, and we use Chromium for that, where I don't think this is an issue. For flutter drive we use WebDriver, and I do not expect driver-initialized browser to put anything that would prevent tests from running. We may have to revisit if it comes up though.
kevmoo
left a comment
There was a problem hiding this comment.
are we sure this won't crash older chrome versions w/out this flag?
IIRC Chrome ignores unrecognised flags? |
|
Checked with Chrome 117. It happily ignores the flag. |
…er#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 flutter#153928
The choice screen is irrelevant when debugging apps locally.
flutter runcreates a separate user profile for testing only. It doesn't touch users' browser settings.Fixes #153928