<?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>256614</bug_id>
          
          <creation_ts>2023-05-10 14:28:40 -0700</creation_ts>
          <short_desc>REGRESSION(263724@main): [ Monterey+ ] TestWebKitAPI.ParserYieldTokenTests.AsyncScriptRunsWhenFetched frequently fails</short_desc>
          <delta_ts>2023-05-10 22:34:45 -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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=256353</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="Ryosuke Niwa">rniwa</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</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>1954514</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-10 14:28:40 -0700</bug_when>
    <thetext>TestWebKitAPI.ParserYieldTokenTests.AsyncScriptRunsWhenFetched

is a fairly consistent failure on Monterey and up. It isn&apos;t a constant failure, but it fails more than it passes which is why I am calling it consistent. 


HISTORY:
https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.ParserYieldTokenTests.AsyncScriptRunsWhenFetched

FAILURE STDIO:
    TestWebKitAPI.ParserYieldTokenTests.AsyncScriptRunsWhenFetched
        
        /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ParserYieldTokenTests.mm:195
        Expected equality of these values:
          &quot;Running async script.&quot;
          eventMessages[2]
            Which is: &quot;Finished requesting async script.&quot;
        
        
        /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ParserYieldTokenTests.mm:196
        Expected equality of these values:
          &quot;Finished requesting async script.&quot;
          eventMessages[3]
            Which is: &quot;Running async script.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954528</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-10 14:54:52 -0700</bug_when>
    <thetext>&lt;rdar://problem/109173614&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954533</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-10 15:17:21 -0700</bug_when>
    <thetext>I have reproduce the failure on Ventura Release ToT running as follows:


run-api-tests --no-build --release --verbose TestWebKitAPI.ParserYieldTokenTests.AsyncScriptRunsWhenFetched


I was also able to bisect to a specific regression point. This fails at 263724@main, but not at 263723@main. 

So it appears that https://commits.webkit.org/263724@main is the culprit here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954538</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-05-10 15:39:31 -0700</bug_when>
    <thetext>I don&apos;t know how this test was able to stay consistent until now. There is no basis that guarantees &quot;Running async script&quot; to happen before &quot;Finished requesting async script&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954587</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-05-10 20:43:07 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13735</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954605</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-10 22:34:42 -0700</bug_when>
    <thetext>Committed 263948@main (360db466f1b5): &lt;https://commits.webkit.org/263948@main&gt;

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

    </bug>

</bugzilla>