<?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>288133</bug_id>
          
          <creation_ts>2025-02-20 12:05:38 -0800</creation_ts>
          <short_desc>imported/w3c/web-platform-tests/scroll-to-text-fragment/find-range-from-text-directive.html is a flaky failure.</short_desc>
          <delta_ts>2025-02-20 12:28:51 -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>Scrolling</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Yasmin Karimi">y_karimi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</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>2096469</commentid>
    <comment_count>0</comment_count>
    <who name="Yasmin Karimi">y_karimi</who>
    <bug_when>2025-02-20 12:05:38 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/scroll-to-text-fragment/find-range-from-text-directive.html

This test is a flaky failure.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fscroll-to-text-fragment%2Ffind-range-from-text-directive.html

TEXT DIFF:

+CONSOLE MESSAGE: Unhandled Promise Rejection: TypeError: Load failed
+
+Harness Error (FAIL), message = Unhandled rejection: Load failed
 
 PASS Basic smoke test - full word match.
 PASS Prefix must start on a word boundary.
@@ -42,10 +45,10 @@
 PASS Content appears between match and suffix.
 PASS Non-matching suffix in first potential match.
 PASS Non-matching suffix search continues to prefix match.
-PASS Range end matches correct suffix.
-PASS `start` element contains search-invisible text (display: none).
-PASS `start` element contains hidden text, which is a block boundary.
-FAIL `start` element contains hidden text which is not a block boundary. assert_equals: Expected to scroll expected true but got false
-FAIL `start` element contains search-invisible text (iframe). assert_equals: Expected to scroll expected true but got false
-FAIL `start` element contains search-invisible text (image). assert_equals: Expected to scroll expected true but got false
+TIMEOUT Range end matches correct suffix. Test timed out
+NOTRUN `start` element contains search-invisible text (display: none).
+NOTRUN `start` element contains hidden text, which is a block boundary.
+NOTRUN `start` element contains hidden text which is not a block boundary.
+NOTRUN `start` element contains search-invisible text (iframe).
+NOTRUN `start` element contains search-invisible text (image).

DIFF URL:

https://build.webkit.org/results/Apple-Sonoma-Release-AppleSilicon-WK2-Tests/290699@main%20(7225)/imported/w3c/web-platform-tests/scroll-to-text-fragment/find-range-from-text-directive-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this failure on MacOS Sequoia 15.2 (24C101 / arm64) at ToT with the following command:

run-webkit-tests imported/w3c/web-platform-tests/scroll-to-text-fragment/find-range-from-text-directive.html --child-processes 1 --iterations 70 -1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096470</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-20 12:05:56 -0800</bug_when>
    <thetext>&lt;rdar://problem/145237804&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096479</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-20 12:28:51 -0800</bug_when>
    <thetext>Test gardening commit 290737@main (1369fd9f9ccd): &lt;https://commits.webkit.org/290737@main&gt;

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

    </bug>

</bugzilla>