<?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>293642</bug_id>
          
          <creation_ts>2025-05-27 14:31:49 -0700</creation_ts>
          <short_desc>REGRESSION(295342@main): [iOS] imported/w3c/web-platform-tests/css/cssom/stylesheet-same-origin.sub.html is constant failure (flaky failure in EWS)</short_desc>
          <delta_ts>2025-06-03 21:47:10 -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>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="Kiet Ho">kiet.ho</assigned_to>
          <cc>kiet.ho</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>2119943</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-05-27 14:31:49 -0700</bug_when>
    <thetext>The following test is constantly failing on iOS on main and also appear as flaky test in EWS. Suspecting this failure started from 295342@main. 
imported/w3c/web-platform-tests/css/cssom/stylesheet-same-origin.sub.html 

 FAIL Origin-clean check in cross-origin CSSOM Stylesheets assert_throws_dom: stylesheet.cssRules should throw SecurityError. function &quot;function () {
                     sheet.cssRules;
                 }&quot; threw object &quot;TypeError: null is not an object (evaluating &apos;sheet.cssRules&apos;)&quot; that is not a DOMException SecurityError: property &quot;code&quot; is equal to undefined, expected 18
-FAIL Origin-clean check in cross-origin CSSOM Stylesheets (redirect from same-origin to cross-origin) assert_throws_dom: stylesheet.cssRules should throw SecurityError. function &quot;function () {
-                    sheet.cssRules;
-                }&quot; did not throw
+PASS Origin-clean check in cross-origin CSSOM Stylesheets (redirect from same-origin to cross-origin)
 FAIL Origin-clean check in cross-origin CSSOM Stylesheets (redirect from cross-origin to same-origin) assert_throws_dom: stylesheet.cssRules should throw SecurityError. function &quot;function () {
                     sheet.cssRules;
                 }&quot; threw object &quot;TypeError: null is not an object (evaluating &apos;sheet.cssRules&apos;)&quot; that is not a DOMException SecurityError: property &quot;code&quot; is equal to undefined, expected 18
-FAIL Origin-clean check in loading error CSSOM Stylesheets assert_throws_dom: stylesheet.cssRules should throw SecurityError. function &quot;function () {
-                    sheet.cssRules;
-                }&quot; did not throw
+PASS Origin-clean check in loading error CSSOM Stylesheets
 PASS Origin-clean check in same-origin CSSOM Stylesheets
-FAIL Origin-clean check in data:css CSSOM Stylesheets Not allowed to access cross-origin stylesheet
+PASS Origin-clean check in data:css CSSOM Stylesheets

Test history:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom%2Fstylesheet-same-origin.sub.html


Test result:
https://ews-build.webkit.org/#/builders/133/builds/19194</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2119951</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-05-27 14:39:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/152111622&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2119967</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-05-27 15:11:41 -0700</bug_when>
    <thetext>Test gardening commit 295472@main (6806868e1c8d): &lt;https://commits.webkit.org/295472@main&gt;

Reviewed commits have been landed. Closing PR #45967 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2120195</commentid>
    <comment_count>3</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2025-05-28 13:09:28 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/46009</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121585</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-06-03 21:47:09 -0700</bug_when>
    <thetext>Committed 295793@main (46083abd0d17): &lt;https://commits.webkit.org/295793@main&gt;

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

    </bug>

</bugzilla>