Files
brave-core/browser/speedreader
Netzenbot ab9a290516 Fix intermittent SpeedReaderBrowserTest.ShowOriginalPage failure (#35718)
WaitDistilled() was called without checking its return value.
If distillation times out or fails, the state doesn't reach
Distilled, but the test proceeds to look for a DOM element
that only exists in distilled HTML, resulting in a misleading
timeout error.

All other calls to WaitDistilled() in this file use
ASSERT_TRUE(WaitDistilled()), which catches the failure early
with a clear error message.

Resolves brave/brave-browser#54582
2026-04-24 14:35:12 -04:00
..