Files
brave-core/chromium_src
Netzenbot a59c2d1fbe Fix FocusHandlerBrowserTest.ResultFile_WrittenForNormalProfile (#35102)
The test intermittently fails on Windows x64 ASAN builds because
Brave's tab_data.cc override unconditionally marks UNLOADED tabs with
should_show_discard_status=true. During browser startup, tabs briefly
have UNLOADED state before loading begins, which triggers the discard
ring IPH code path while BrowserUserEducationInterface is still in
kInitializationPending state.

Refine the check to only mark tabs as showing discard status when they
have a real committed navigation entry (not the initial entry). This
preserves the behavior for session-restored tabs and genuinely
discarded tabs while avoiding the IPH trigger during startup.

Resolves brave/brave-browser#54040
2026-04-04 09:18:14 -04:00
..