<?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>287817</bug_id>
          
          <creation_ts>2025-02-17 13:30:50 -0800</creation_ts>
          <short_desc>REGRESSION(289950@main?): [ macOS wk1 ] http/tests/webarchive/cross-origin-stylesheet-crash.html is a constant failure.</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>DUPLICATE</resolution>
          <dup_id>287509</dup_id>
          
          <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>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>2095248</commentid>
    <comment_count>0</comment_count>
    <who name="Yasmin Karimi">y_karimi</who>
    <bug_when>2025-02-17 13:30:50 -0800</bug_when>
    <thetext>http/tests/webarchive/cross-origin-stylesheet-crash.html

This test is a constant failure on macOS wk1.
It was flakily failing on macOS wk2 before, which is now passing.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fwebarchive%2Fcross-origin-stylesheet-crash.html

DIFF:

@@ -7,6 +7,9 @@
 		&lt;key&gt;WebResourceData&lt;/key&gt;
 		&lt;string&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;
 &amp;lt;script&amp;gt;
+if (window.internals)
+    internals.clearMemoryCache();
+
 if (window.testRunner)
     testRunner.dumpDOMAsWebArchive();
 &amp;lt;/script&amp;gt;


DIFF URL:

https://build.webkit.org/results/Apple-Sonoma-Debug-AppleSilicon-WK1-Tests/290482@main%20(5864)/http/tests/webarchive/cross-origin-stylesheet-crash-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 http/tests/webarchive/cross-origin-stylesheet-crash.html --iterations 20 -1

REGRESSION:

Contextual information indicates the probable regression point is 289950@main. The code paths changed in this commit appear to be directly related to the observed regression test failures. However, I was unable to produce a passing result locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095249</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-17 13:31:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/145005323&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095251</commentid>
    <comment_count>2</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2025-02-17 13:39:25 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 287509 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>