Skip to content

Disable Chromium test AutoPictureInPictureTabHelperBrowserTest.OverlaySettingViewIsShownForDocumentPip#34337

Merged
bbondy merged 1 commit intobrave:masterfrom
netzenbot:fix-auto-pip-overlay-setting-test
Feb 28, 2026
Merged

Disable Chromium test AutoPictureInPictureTabHelperBrowserTest.OverlaySettingViewIsShownForDocumentPip#34337
bbondy merged 1 commit intobrave:masterfrom
netzenbot:fix-auto-pip-overlay-setting-test

Conversation

@netzenbot
Copy link
Collaborator

Summary

Disable flaky upstream Chromium test AutoPictureInPictureTabHelperBrowserTest.OverlaySettingViewIsShownForDocumentPip which crashes with a null pointer dereference on Windows ASAN builds.

Note: This is a Chromium test (located in ./src/chrome/browser/picture_in_picture/, not ./src/brave/).

Root Cause

The test crashes in AutoPipSettingView::OnButtonPressed (auto_pip_setting_view.cc:211) due to a null pointer dereference. The root cause is a race condition where ShowBubble() is deferred via PostTask in AddedToWidget(), so auto_pip_setting_view_ may still be null when the test accesses it.

  • Chromium upstream status: Already disabled on Linux upstream since Nov 2023 (crbug.com/1500939). Upstream flake rate is 5.0% overall, spiking to 10-13% in the last week (LUCI Analysis, 30-day lookback).
  • Brave modifications: Brave does not modify any PIP code paths involved.

Fix

Added the test to test/filters/browser_tests.filter to disable it. This is consistent with the sibling test OverlaySettingViewIsShownForVideoPip which is already disabled in the same filter file.

Test Plan

  • Ran npm run format - passed
  • Ran npm run presubmit - passed
  • CI passes cleanly

Resolves brave/brave-browser#53185

…ySettingViewIsShownForDocumentPip

This is an upstream Chromium test that crashes with a null pointer
dereference in ASAN builds. The root cause is a race condition where
ShowBubble() is deferred via PostTask in AddedToWidget(), so
auto_pip_setting_view_ may still be null when the test accesses it.

Upstream flake rate: 4.7% overall, 12-13% recently (LUCI Analysis).
Already disabled on Linux upstream since Nov 2023 (crbug.com/1500939).
Brave does not modify the PIP code paths involved.

Resolves brave/brave-browser#53185
@netzenbot netzenbot self-assigned this Feb 28, 2026
@bbondy bbondy marked this pull request as ready for review February 28, 2026 20:54
@bbondy bbondy merged commit 68cff69 into brave:master Feb 28, 2026
14 of 19 checks passed
@brave-builds
Copy link
Collaborator

Released in v1.89.89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: AutoPictureInPictureTabHelperBrowserTest.OverlaySettingViewIsShownForDocumentPip

3 participants