<?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>237552</bug_id>
          
          <creation_ts>2022-03-07 13:29:21 -0800</creation_ts>
          <short_desc>[iOS Mac ] imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/same-hash.html  is a flaky text failure</short_desc>
          <delta_ts>2022-05-04 13:37: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>New Bugs</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=239571</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="Dawn Morningstar">Morningstar</reporter>
          <assigned_to name="Karl Rackler">rackler</assigned_to>
          <cc>beidson</cc>
    
    <cc>cdumez</cc>
    
    <cc>rackler</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</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>1848929</commentid>
    <comment_count>0</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-07 13:29:21 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/same-hash.html 
Is a flaky text failure on iOS and wk1 queues since the test was introduced.

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fbrowsers%2Fhistory%2Fthe-location-interface%2Fsame-hash.html

DIFF:
--- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/same-hash-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/same-hash-actual.txt
@@ -1,6 +1,6 @@
 
 
-PASS Using location.hash = &quot;#te&lt;st&quot; must not reset scroll position
+FAIL Using location.hash = &quot;#te&lt;st&quot; must not reset scroll position assert_greater_than: First hash assignment scrolls the iframe expected a number greater than 150 but got 0
 PASS Using location.hash = &quot;te&lt;st&quot; must not reset scroll position
 PASS Using location.hash = &quot;#te%3Cst&quot; must not reset scroll position
 PASS Using location.hash = &quot;te%3Cst&quot; must not reset scroll position

DIFF-URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r290885%20(1859)/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/same-hash-diff.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848931</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-03-07 13:30:34 -0800</bug_when>
    <thetext>&lt;rdar://problem/89926580&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851435</commentid>
    <comment_count>2</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-15 12:33:36 -0700</bug_when>
    <thetext>Correction, this is not solely happening on iOS queues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851443</commentid>
    <comment_count>3</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-15 12:42:07 -0700</bug_when>
    <thetext>Marking expectations until further investigation can occur.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851445</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-03-15 12:44:43 -0700</bug_when>
    <thetext>Not truly a regression, just a WPT test update from upstream.

Looking at the output, this likely has to do with some scrolling happening asynchronously when the test expects it not too. As a result, when the test checks the scroll position, sometimes it has scrolled and sometimes it hasn&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851451</commentid>
    <comment_count>5</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-15 12:53:30 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #4)
&gt; Not truly a regression, just a WPT test update from upstream.
&gt; 
&gt; Looking at the output, this likely has to do with some scrolling happening
&gt; asynchronously when the test expects it not too. As a result, when the test
&gt; checks the scroll position, sometimes it has scrolled and sometimes it
&gt; hasn&apos;t.

Ah I see, incorrect starting position, this would mostly be a test order issue then? Or is modifying the test to reset starting position possible?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851453</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-03-15 12:57:31 -0700</bug_when>
    <thetext>(In reply to Matteo Flores from comment #5)
&gt; (In reply to Chris Dumez from comment #4)
&gt; &gt; Not truly a regression, just a WPT test update from upstream.
&gt; &gt; 
&gt; &gt; Looking at the output, this likely has to do with some scrolling happening
&gt; &gt; asynchronously when the test expects it not too. As a result, when the test
&gt; &gt; checks the scroll position, sometimes it has scrolled and sometimes it
&gt; &gt; hasn&apos;t.
&gt; 
&gt; Ah I see, incorrect starting position, this would mostly be a test order
&gt; issue then? Or is modifying the test to reset starting position possible?

Either the test needs to be modified to not wait a little bit for the scrolling position to get updated (which would mean an upstream PR since this is an imported W3C/WPT test, not a WebKit test). Or we really do have a bug and the scroll position is supposed to get updated synchronously here (which would be a WebKit bug but likely not a recent regression).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866575</commentid>
    <comment_count>7</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-04 13:30:38 -0700</bug_when>
    <thetext>I have marked this test as a flaky failure while this issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866578</commentid>
    <comment_count>8</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-04 13:34:32 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/501</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866579</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-04 13:37:28 -0700</bug_when>
    <thetext>Test gardening commit r293787 (250266@main): &lt;https://commits.webkit.org/250266@main&gt;

Reviewed commits have been landed. Closing PR #501 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>