<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>221011</bug_id>
          
          <creation_ts>2021-01-26 14:56:45 -0800</creation_ts>
          <short_desc>[ macOS wk2 ] fast/selectors/selection-window-inactive-text-shadow.html flakey image failure</short_desc>
          <delta_ts>2021-07-27 18:03:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=221857</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=228248</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=228337</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Jenner">jenner</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>sihui_liu</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1722737</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-01-26 14:56:45 -0800</bug_when>
    <thetext>fast/selectors/selection-window-inactive-text-shadow.html

Is a flakey image failure on Mac.

History: https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fselectors%2Fselection-window-inactive-text-shadow.html

Image Diff: https://build.webkit.org/results/Apple-BigSur-Release-WK2-Tests/r271897%20(1193)/fast/selectors/selection-window-inactive-text-shadow-diffs.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1722739</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-01-26 14:57:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/73634124&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1722764</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-01-26 16:08:18 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1722846</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2021-01-27 00:38:28 -0800</bug_when>
    <thetext>There isn&apos;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&apos;m quite sure, it wasn&apos;t r271879 the one introducing this, I guess it&apos;s difficult to find when it&apos;s flaky</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1723049</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-01-27 10:09:30 -0800</bug_when>
    <thetext>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&apos;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:

fast/selectors/selection-window-inactive.html
fast//selectors/selection-window-inactive-stroke-color.html
fast/selectors/selection-window-inactive-text-shadow.html

It&apos;s not good that we broke all inactive window rendering tests.

Interestingly, fast/selectors/querySelector-window-inactive.html isn&apos;t flaky, so a:window-inactive gets updated synchronously, but rendering is not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1736500</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-03-05 13:17:48 -0800</bug_when>
    <thetext>Updated test expectations here:
https://trac.webkit.org/changeset/274002/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>