<?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>209025</bug_id>
          
          <creation_ts>2020-03-12 16:12:46 -0700</creation_ts>
          <short_desc>REGRESSION (r257739): [ iOS ] fast/events/autoscroll-in-iframe.html is still flaky failing</short_desc>
          <delta_ts>2022-02-12 22:12:35 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=208520</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="Jacob Uphoff">jacob_uphoff</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cfleizach</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1629402</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-03-12 16:12:46 -0700</bug_when>
    <thetext>fast/events/autoscroll-in-iframe.html

This test has been flaky failing for all of iOS since around r257740 

Started off failing more consistently but now is failing more flakily.

History:

https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fevents%2Fautoscroll-in-iframe.html&amp;platform=ios

Diff:

--- /Volumes/Data/slave/ios-simulator-13-debug-tests-wk2/build/layout-test-results/fast/events/autoscroll-in-iframe-expected.txt
+++ /Volumes/Data/slave/ios-simulator-13-debug-tests-wk2/build/layout-test-results/fast/events/autoscroll-in-iframe-actual.txt
@@ -1,3 +1,4 @@
 
+FAILED: Clicking in the iframe scrolled the page (window.scrollTops is 0)
 PASSED: selecting in the iframe did not scroll the page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629403</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-03-12 16:13:10 -0700</bug_when>
    <thetext>&lt;rdar://problem/60392238&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629411</commentid>
    <comment_count>2</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-03-12 16:22:15 -0700</bug_when>
    <thetext>Set expectations here: https://trac.webkit.org/changeset/258370/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629634</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-03-13 09:18:20 -0700</bug_when>
    <thetext>There was an attempt to fix these in r208520, which improved the situation. But it&apos;s still failing around half of the time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629635</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-03-13 09:19:19 -0700</bug_when>
    <thetext>I meant to say, in bug 208520.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629698</commentid>
    <comment_count>5</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2020-03-13 10:49:35 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #4)
&gt; I meant to say, in bug 208520.

if we really think  r257740  is the cause of this, it&apos;s likely the reason is that accessibility is being enabled on iOS unexpectedly. that is what I&apos;ll look for</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629708</commentid>
    <comment_count>6</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2020-03-13 11:05:48 -0700</bug_when>
    <thetext>(In reply to chris fleizach from comment #5)
&gt; (In reply to Alexey Proskuryakov from comment #4)
&gt; &gt; I meant to say, in bug 208520.
&gt; 
&gt; if we really think  r257740  is the cause of this, it&apos;s likely the reason is
&gt; that accessibility is being enabled on iOS unexpectedly. that is what I&apos;ll
&gt; look for

Must have been

https://bugs.webkit.org/show_bug.cgi?id=208434</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629723</commentid>
    <comment_count>7</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2020-03-13 11:24:28 -0700</bug_when>
    <thetext>So there was clearly something enabling accessibility previously. That was clearly fixed. Looking through original patch, this is the only thing that does something different.

-    return textMarkerRangeFromVisiblePositions(self.axBackingObject-&gt;axObjectCache(), startPosition, endPosition);
+    auto* backingObject = self.updateObjectBackingStore;
+    if (!backingObject)
+        return nil;
+
+    return textMarkerRangeFromVisiblePositions(backingObject-&gt;axObjectCache(), startPosition, endPosition);

by calling self.updateObjectBackingStore</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629776</commentid>
    <comment_count>8</comment_count>
    <who name="Andres Gonzalez">andresg_22</who>
    <bug_when>2020-03-13 12:40:10 -0700</bug_when>
    <thetext>(In reply to chris fleizach from comment #7)
&gt; So there was clearly something enabling accessibility previously. That was
&gt; clearly fixed. Looking through original patch, this is the only thing that
&gt; does something different.
&gt; 
&gt; -    return
&gt; textMarkerRangeFromVisiblePositions(self.axBackingObject-&gt;axObjectCache(),
&gt; startPosition, endPosition);
&gt; +    auto* backingObject = self.updateObjectBackingStore;
&gt; +    if (!backingObject)
&gt; +        return nil;
&gt; +
&gt; +    return
&gt; textMarkerRangeFromVisiblePositions(backingObject-&gt;axObjectCache(),
&gt; startPosition, endPosition);
&gt; 
&gt; by calling self.updateObjectBackingStore

that was fix in patch for bug:

https://bugs.webkit.org/show_bug.cgi?id=208648

so that cannot be the cause if this is still failing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>