<?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>287509</bug_id>
          
          <creation_ts>2025-02-11 13:41:10 -0800</creation_ts>
          <short_desc>REGRESSION:(289950@main)[macOS]: http/tests/webarchive tests are a flaky failures with image failures(failure in EWS)</short_desc>
          <delta_ts>2025-02-17 13:39:25 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Sihui Liu">sihui_liu</assigned_to>
          <cc>sihui_liu</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>y_karimi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2093930</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-02-11 13:41:10 -0800</bug_when>
    <thetext>The following tests are flaky failing on macOS queues and appear as false positive failures in EWS. The tests seems like regressed after webarchive change in 289950@main

http/tests/webarchive/cross-origin-stylesheet-crash.html
http/tests/webarchive/test-css-url-encoding-shift-jis.html
http/tests/webarchive/test-css-url-encoding-utf-8.html
http/tests/webarchive/test-css-url-encoding.html
http/tests/webarchive/test-preload-resources.html

Errors:
@@ -41,6 +41,87 @@
 	&lt;array&gt;
 		&lt;dict&gt;
 			&lt;key&gt;WebResourceData&lt;/key&gt;
+			&lt;string&gt;wasPostTestScriptParsed = true;
+
+if (window.jsTestIsAsync) {
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+    if (window.wasFinishJSTestCalled)
+        finishJSTest();
+} else
+    finishJSTest();
+&lt;/string&gt;
+			&lt;key&gt;WebResourceMIMEType&lt;/key&gt;
+			&lt;string&gt;text/javascript&lt;/string&gt;
+			&lt;key&gt;WebResourceResponse&lt;/key&gt;
+			&lt;dict&gt;
+				&lt;key&gt;MIMEType&lt;/key&gt;
+				&lt;string&gt;text/javascript&lt;/string&gt;
+				&lt;key&gt;URL&lt;/key&gt;
+				&lt;string&gt;http://127.0.0.1:8000/js-test-resources/js-test-post.js&lt;/string&gt;
+				&lt;key&gt;allHeaderFields&lt;/key&gt;
+				&lt;dict&gt;
+					&lt;key&gt;Accept-Ranges&lt;/key&gt;
+					&lt;string&gt;bytes&lt;/string&gt;
+					&lt;key&gt;Content-Length&lt;/key&gt;
+					&lt;string&gt;213&lt;/string&gt;
+					&lt;key&gt;Content-Type&lt;/key&gt;
+					&lt;string&gt;application/x-javascript&lt;/string&gt;
+					&lt;key&gt;Date&lt;/key&gt;
+					&lt;string&gt;Sun, 16 Nov 2008 17:00:00 GMT&lt;/string&gt;
+					&lt;key&gt;Etag&lt;/key&gt;
+					&lt;string&gt;&quot;301925-21-45c7d72d3e780&quot;&lt;/string&gt;
+					&lt;key&gt;Last-Modified&lt;/key&gt;
+					&lt;string&gt;Sun, 16 Nov 2008 16:55:00 GMT&lt;/string&gt;
+					&lt;key&gt;Server&lt;/key&gt;
+					&lt;string&gt;Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l PHP/5.2.6&lt;/string&gt;
+				&lt;/dict&gt;
+				&lt;key&gt;expectedContentLength&lt;/key&gt;
+				&lt;integer&gt;213&lt;/integer&gt;
+				&lt;key&gt;statusCode&lt;/key&gt;
+				&lt;integer&gt;200&lt;/integer&gt;
+			&lt;/dict&gt;
+			&lt;key&gt;WebResourceURL&lt;/key&gt;
+			&lt;string&gt;http://127.0.0.1:8000/js-test-resources/js-test-post.js&lt;/string&gt;
+		&lt;/dict&gt;
+		&lt;dict&gt;
+			&lt;key&gt;WebResourceData&lt;/key&gt;
+			&lt;string&gt;document.write(&apos;/uri/intercept/print/script.js?%26%231758%3B&apos;);&lt;/string&gt;
+			&lt;key&gt;WebResourceMIMEType&lt;/key&gt;
+			&lt;string&gt;text/javascript&lt;/string&gt;
+			&lt;key&gt;WebResourceResponse&lt;/key&gt;
+			&lt;dict&gt;
+				&lt;key&gt;MIMEType&lt;/key&gt;
+				&lt;string&gt;text/javascript&lt;/string&gt;
+				&lt;key&gt;URL&lt;/key&gt;
+				&lt;string&gt;http://127.0.0.1:8000/uri/intercept/print/script.js?%26%231758%3B&lt;/string&gt;
+				&lt;key&gt;allHeaderFields&lt;/key&gt;
+				&lt;dict&gt;
+					&lt;key&gt;Cache-Control&lt;/key&gt;
+					&lt;string&gt;no-store, no-cache, must-revalidate&lt;/string&gt;
+					&lt;key&gt;Content-Type&lt;/key&gt;
+					&lt;string&gt;text/javascript&lt;/string&gt;
+					&lt;key&gt;Date&lt;/key&gt;
+					&lt;string&gt;Sun, 16 Nov 2008 17:00:00 GMT&lt;/string&gt;
+					&lt;key&gt;Expires&lt;/key&gt;
+					&lt;string&gt;Thu, 01 Dec 2003 16:00:00 GMT&lt;/string&gt;
+					&lt;key&gt;Pragma&lt;/key&gt;
+					&lt;string&gt;no-cache&lt;/string&gt;
+					&lt;key&gt;Server&lt;/key&gt;
+					&lt;string&gt;Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l PHP/5.2.6&lt;/string&gt;
+					&lt;key&gt;Transfer-Encoding&lt;/key&gt;
+					&lt;string&gt;Identity&lt;/string&gt;
+				&lt;/dict&gt;
+				&lt;key&gt;expectedContentLength&lt;/key&gt;
+				&lt;integer&gt;-1&lt;/integer&gt;
+				&lt;key&gt;statusCode&lt;/key&gt;
+				&lt;integer&gt;200&lt;/integer&gt;
+			&lt;/dict&gt;
+			&lt;key&gt;WebResourceURL&lt;/key&gt;
+			&lt;string&gt;http://127.0.0.1:8000/uri/intercept/print/script.js?%26%231758%3B&lt;/string&gt;
+		&lt;/dict&gt;
+		&lt;dict&gt;
+			&lt;key&gt;WebResourceData&lt;/key&gt;
 			&lt;string&gt;/* test-preload-resources.css */
 &lt;/string&gt;
 			&lt;key&gt;WebResourceMIMEType&lt;/key&gt;

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Ftests%2Fwebarchive%2Fcross-origin-stylesheet-crash.html&amp;test=http%2Ftests%2Fwebarchive%2Ftest-css-url-encoding-shift-jis.html&amp;test=http%2Ftests%2Fwebarchive%2Ftest-css-url-encoding-utf-8.html&amp;test=http%2Ftests%2Fwebarchive%2Ftest-css-url-encoding.html&amp;test=http%2Ftests%2Fwebarchive%2Ftest-preload-resources.html&amp;flavor=wk2

Test results:
https://ews-build.s3-us-west-2.amazonaws.com/macOS-Sequoia-Debug-WK2-Tests-EWS/75dbe5c2-11943/results.html#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2093931</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-11 13:41:44 -0800</bug_when>
    <thetext>&lt;rdar://problem/144639388&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094063</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-11 21:16:46 -0800</bug_when>
    <thetext>Test gardening commit 290255@main (5b6daeea50dd): &lt;https://commits.webkit.org/290255@main&gt;

Reviewed commits have been landed. Closing PR #40465 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094175</commentid>
    <comment_count>3</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2025-02-12 10:20:25 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/40492</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094300</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-12 16:06:26 -0800</bug_when>
    <thetext>Committed 290309@main (e11a47ee2628): &lt;https://commits.webkit.org/290309@main&gt;

Reviewed commits have been landed. Closing PR #40492 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095252</commentid>
    <comment_count>5</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2025-02-17 13:39:25 -0800</bug_when>
    <thetext>*** Bug 287817 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>