<?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>299830</bug_id>
          
          <creation_ts>2025-09-29 16:11:19 -0700</creation_ts>
          <short_desc>REGRESSION(300617@main): [macOS] imported/w3c/web-platform-tests/storage-access-api/hasStorageAccess-insecure.sub.window.html is flaky</short_desc>
          <delta_ts>2026-03-04 13:09:55 -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>DOM</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=252268</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="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Diego De La Toba">d_delatoba</assigned_to>
          <cc>d_delatoba</cc>
    
    <cc>jbedard</cc>
    
    <cc>m_finkel</cc>
    
    <cc>sihui_liu</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>2146982</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-09-29 16:11:19 -0700</bug_when>
    <thetext>The following test became flaky after 300617@main both in Release and Debug. 

imported/w3c/web-platform-tests/storage-access-api/hasStorageAccess-insecure.sub.window.html

 PASS [same-origin-frame] document.hasStorageAccess() should be supported on the document interface
 PASS [same-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts
 PASS [same-origin-frame] document.hasStorageAccess() should reject in a document that isn&apos;t fully active.
+PASS [cross-origin-frame] document.hasStorageAccess() should be supported on the document interface
+PASS [cross-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts
+PASS [cross-origin-frame] document.hasStorageAccess() should reject in a document that isn&apos;t fully active.
 PASS [nested-same-origin-frame] document.hasStorageAccess() should be supported on the document interface
 PASS [nested-same-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts
 PASS [nested-same-origin-frame] document.hasStorageAccess() should reject in a document that isn&apos;t fully active.
-PASS [cross-origin-frame] document.hasStorageAccess() should be supported on the document interface
-PASS [cross-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts
-PASS [cross-origin-frame] document.hasStorageAccess() should reject in a document that isn&apos;t fully active.
 PASS [nested-cross-origin-frame] document.hasStorageAccess() should be supported on the document interface
 PASS [nested-cross-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts
 PASS [nested-cross-origin-frame] document.hasStorageAccess() should reject in a document that isn&apos;t fully active.

Test history:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fstorage-access-api%2FhasStorageAccess-insecure.sub.window.html

Test result:
https://ews-build.webkit.org/#/builders/122/builds/38481</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2146983</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-29 16:11:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/161605161&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147216</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-30 11:28:24 -0700</bug_when>
    <thetext>Test gardening commit 300765@main (c66650e9a65e): &lt;https://commits.webkit.org/300765@main&gt;

Reviewed commits have been landed. Closing PR #51572 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147322</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-09-30 15:44:05 -0700</bug_when>
    <thetext>This probably uncovered the issue by making the test run more correctly, and didn&apos;t cause it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147647</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-10-01 14:15:23 -0700</bug_when>
    <thetext>Can we just add `await` before each of the `RunTestsInIFrame` calls? I think that&apos;s an async testing call, it&apos;s not surprising that reliable ordering is an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149202</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-10-07 13:26:28 -0700</bug_when>
    <thetext>This is again bug 252268, where we&apos;re having issues because we&apos;re relying on things that testharness.js API contract doesn&apos;t guarantee.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2187057</commentid>
    <comment_count>6</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-03-04 12:21:14 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/storage-access-api/hasStorageAccess-insecure.sub.window.html is a also flaky on iOS release, gardening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2187064</commentid>
    <comment_count>7</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-03-04 13:08:01 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/59914</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2187066</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-04 13:09:55 -0800</bug_when>
    <thetext>Test gardening commit 308656@main (2e516427321c): &lt;https://commits.webkit.org/308656@main&gt;

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

    </bug>

</bugzilla>