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
This commit is contained in:
Netzenbot
2026-05-14 15:46:50 -04:00
committed by GitHub
parent 593f937bfa
commit 3166cecfc0
+7 -1
View File
@@ -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