Skip to content
Commit 70c02083 authored by Peter Kvitek's avatar Peter Kvitek Committed by Chromium LUCI CQ
Browse files

[headless] Use --disable-infobars switch in headless Chrome

Disabling infobars in headless mode unconditionally has proven
to be too aggressive. This CL changes infobars behavior in headless
to be the same as in Chrome for Testing, which is: hide infobars
only when --disable-infobars switch is present and only if the infobar
has no buttons.

Bug: 341947684, 333945848
Change-Id: I8c544116d7650b3ebb7824406f328b6289494876
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5606442


Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1313099}
parent b0f3f487
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment