Bug 221011 - [ macOS wk2 ] fast/selectors/selection-window-inactive-text-shadow.html flakey image failure
Summary: [ macOS wk2 ] fast/selectors/selection-window-inactive-text-shadow.html flake...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
Keywords: InRadar
Depends on:
Reported: 2021-01-26 14:56 PST by Robert Jenner
Modified: 2021-07-27 18:03 PDT (History)
10 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Radar WebKit Bug Importer 2021-01-26 14:57:21 PST
Comment 2 Robert Jenner 2021-01-26 16:08:18 PST
Bug reproducible in r271900

Produced bug using:

run-webkit-test fast/selectors/selection-window-inactive-text-shadow.html --iterations 1000 -f

Regressed to build r27164 where bug was not occurring.

Testing forward we found that the bug was not reproducible on r271878, and was reproducible in r271879. 

It appears the bug was introduced in r271879.
Comment 3 Carlos Garcia Campos 2021-01-27 00:38:28 PST
There isn't any cross-platform change in r271879, only soup based ports should have a behavior change. And the test failing has nothing to do with the network loads. So, I'm quite sure, it wasn't r271879 the one introducing this, I guess it's difficult to find when it's flaky
Comment 4 Alexey Proskuryakov 2021-01-27 10:09:30 PST
There have been flaky failures on test for much longer.

When this fails, all of the text is blue instead of green. The test calls testRunner.setWindowIsKey(false), and doesn't wait at all. There is a lot of potential for async updates that need to be waited for here.

But also, we have other tests that do the same, and at least some were identified to have regressed with r266634.

A few examples from LayoutTests/fast:


It's not good that we broke all inactive window rendering tests.

Interestingly, fast/selectors/querySelector-window-inactive.html isn't flaky, so a:window-inactive gets updated synchronously, but rendering is not.
Comment 5 Robert Jenner 2021-03-05 13:17:48 PST
Updated test expectations here: