From 3166cecfc0a7b104847002f41db40424ed533a96 Mon Sep 17 00:00:00 2001 From: Netzenbot Date: Thu, 14 May 2026 15:46:50 -0400 Subject: [PATCH] Disable flaky CookieUseCounterBrowserTest.HttpOnlyCookieShadowedByNonHttpOnlyPartitioned_BothAvailable (#36400) The test uses multiple navigations to set cookies then checks UseCounter histogram counts. Late-arriving cookie access events from earlier navigations cause double-counted UseCounter features (expected 1, got 2). Brave's Ephemeral Storage cookie handling modifications make the timing more sensitive than upstream. Stable upstream (0.2% flake rate / 30d per LUCI Analysis). Upstream deflake CL chromium-review.googlesource.com/c/chromium/src/+/7694592 redesigns the test to set cookies programmatically and use iframes, but landed after the Chromium 148 branch cut. Will be picked up in a future Chromium roll. Resolves https://github.com/brave/brave-browser/issues/55224 --- test/filters/browser_tests.filter | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/filters/browser_tests.filter b/test/filters/browser_tests.filter index dfc021df266..4f537256156 100644 --- a/test/filters/browser_tests.filter +++ b/test/filters/browser_tests.filter @@ -706,7 +706,13 @@ -FileSystemAccessDeepScanningBrowserTest.WarnedWrite/* # These tests fail because of the Ephemeral Storage (they pass with -# kBraveEphemeralStorage feature disabled). +# kBraveEphemeralStorage feature disabled). The multi-navigation test design +# causes late-arriving cookie access events that double-count UseCounter +# features. Stable upstream (0.2% flake rate / 30d per LUCI Analysis). +# Upstream deflake CL (chromium-review.googlesource.com/c/chromium/src/+/7694592) +# landed after the Chromium 148 branch cut; will be picked up in a future roll. +# https://github.com/brave/brave-browser/issues/55224 +-CookieUseCounterBrowserTest.HttpOnlyCookieShadowedByNonHttpOnlyPartitioned_BothAvailable -CookieUseCounterBrowserTest.HttpOnlyCookieShadowedByNonHttpOnlyPartitioned_NeitherAvailable -FirstPartySetsBrowserTestWithSiteLeavingSet.CookieDeleted -NativeUnpartitionedStorageTest/NativeUnpartitionedStorageAccessWhen3PCOff.CrossOriginsAccessWithCookieBlocking/0