<?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>231328</bug_id>
          
          <creation_ts>2021-10-06 13:26:17 -0700</creation_ts>
          <short_desc>[ iOS macOS wk2 ] http/tests/preload/onload_event.html is flaky failing</short_desc>
          <delta_ts>2024-05-23 11:34:39 -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=274591</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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ben_schwartz</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>1801303</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-06 13:26:17 -0700</bug_when>
    <thetext>http/tests/preload/onload_event.html

Is flaky failing on iOS and macOS wk2.

History: https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fpreload%2Fonload_event.html

The test has been flaky failing on iOS 14, but it appears that the test started being flaky on macOS wk2 relatively recently at around r283106.

Result page: https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r283612%20(72)/results.html

Diff:

--- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/http/tests/preload/onload_event-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/http/tests/preload/onload_event-actual.txt
@@ -2,6 +2,9 @@
 CONSOLE MESSAGE: &lt;link rel=preload&gt; must have a valid `as` value
 CONSOLE MESSAGE: &lt;link rel=preload&gt; must have a valid `as` value
 CONSOLE MESSAGE: &lt;link rel=preload&gt; must have a valid `as` value
+CONSOLE MESSAGE: The resource http://127.0.0.1:8000/resources/test.ogv was preloaded using link preload but not used within a few seconds from the window&apos;s load event. Please make sure it wasn&apos;t preloaded for nothing.
+CONSOLE MESSAGE: The resource http://127.0.0.1:8000/security/resources/captions.vtt was preloaded using link preload but not used within a few seconds from the window&apos;s load event. Please make sure it wasn&apos;t preloaded for nothing.
+CONSOLE MESSAGE: The resource http://127.0.0.1:8000/resources/dummy.xml?fetch was preloaded using link preload but not used within a few seconds from the window&apos;s load event. Please make sure it wasn&apos;t preloaded for nothing.
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801304</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-06 13:26:35 -0700</bug_when>
    <thetext>&lt;rdar://problem/83949027&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801319</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-06 13:42:20 -0700</bug_when>
    <thetext>Marked test expectations: https://trac.webkit.org/changeset/283654/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037336</commentid>
    <comment_count>3</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-05-23 08:54:38 -0700</bug_when>
    <thetext>https://webkit.org/b/231328
Now tracking in rdar://80340581.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037406</commentid>
    <comment_count>4</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-05-23 11:34:39 -0700</bug_when>
    <thetext>&lt;rdar://problem/80340581&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>