<?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>283144</bug_id>
          
          <creation_ts>2024-11-14 15:47:01 -0800</creation_ts>
          <short_desc>REGRESSION (Sequoia 24A335): [ Sequoia wk2 ] 2x storageAccess/grant-storage-access-under-opener*.html and 2x storageAccess/request-and-grant-access-then-navigate*.html are a consistent failure</short_desc>
          <delta_ts>2025-02-04 09:25:36 -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>NEW</bug_status>
          <resolution></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="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <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>2075221</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2024-11-14 15:47:01 -0800</bug_when>
    <thetext>Description:
http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-ephemeral.https.html
http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture.https.html
http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.https.html
http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access.https.html

These tests have been a constant failure on Sequoia ToT since the bring-up on Sequoia 24A335.

The EWS queue from history shows that after updating from Sequoia 24A335 -&gt; 24A348 the tests began consistently passing on a clean-tree with results from the run-layout-tests-without-change step.

This issue can be reproduced using the command:
run-webkit-tests --release --no-retry --force --iterations=1 http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-ephemeral.https.html http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture.https.html http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.https.html http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access.https.html 

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Ftests%2FstorageAccess%2Fgrant-storage-access-under-opener-at-popup-user-gesture-ephemeral.https.html&amp;test=http%2Ftests%2FstorageAccess%2Fgrant-storage-access-under-opener-at-popup-user-gesture.https.html&amp;test=http%2Ftests%2FstorageAccess%2Frequest-and-grant-access-then-navigate-cross-site-should-not-have-access.https.html&amp;test=http%2Ftests%2FstorageAccess%2Frequest-and-grant-access-then-navigate-same-site-should-have-access.https.html&amp;version_name=Sequoia&amp;flavor=wk1&amp;flavor=wk2

Diff:
http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-ephemeral.https.html
@@ -13,5 +13,5 @@
 Frame: &apos;&lt;!--frame1--&gt;&apos;
 --------
 Should receive first-party cookie.
-Received cookie named &apos;firstPartyCookie&apos;.
-Client-side document.cookie: firstPartyCookie=value
+Did not receive cookie named &apos;firstPartyCookie&apos;.
+Client-side document.cookie:

http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture.https.html
@@ -13,5 +13,5 @@
 Frame: &apos;&lt;!--frame1--&gt;&apos;
 --------
 Should receive first-party cookie.
-Received cookie named &apos;firstPartyCookie&apos;.
-Client-side document.cookie: firstPartyCookie=value
+Did not receive cookie named &apos;firstPartyCookie&apos;.
+Client-side document.cookie:

http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.https.html
@@ -5,7 +5,7 @@
 
 PASS document.cookie ==
 PASS Storage access was granted.
-PASS document.cookie == cookieSetClientSideAfterGrantedStorageAccess=value; firstPartyCookie=value
+PASS document.cookie == firstPartyCookie=value
 PASS No storage access. document.cookie == , cookies seen server-side == &quot;No cookies&quot;
 PASS successfullyParsed is true

http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access.https.html
@@ -5,8 +5,8 @@
 
 PASS document.cookie ==
 PASS Storage access was granted.
-PASS document.cookie == cookieSetClientSideAfterGrantedStorageAccess=value; firstPartyCookie=value
-PASS Has storage access. document.cookie == cookieSetClientSideAfterGrantedStorageAccess=value; firstPartyCookie=value, cookies seen server-side == {&quot;cookieSetClientSideAfterGrantedStorageAccess&quot;:&quot;value&quot;,&quot;firstPartyCookie&quot;:&quot;value&quot;}
+PASS document.cookie == firstPartyCookie=value
+PASS Has storage access. document.cookie == firstPartyCookie=value, cookies seen server-side == {&quot;firstPartyCookie&quot;:&quot;value&quot;}
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075222</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-11-14 15:47:24 -0800</bug_when>
    <thetext>&lt;rdar://problem/139916862&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075223</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2024-11-14 15:53:06 -0800</bug_when>
    <thetext>The long-term resolution involves updating post-commit testers to Sequoia 24B83 to effectively address this issue. In the interim, I will implement test expectations until the completion of this task.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075233</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-11-14 16:05:01 -0800</bug_when>
    <thetext>Test gardening commit 286619@main (bbe4a02c53a6): &lt;https://commits.webkit.org/286619@main&gt;

Reviewed commits have been landed. Closing PR #36670 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091844</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-04 09:25:36 -0800</bug_when>
    <thetext>Test gardening commit 289790@main (e4c49520661e): &lt;https://commits.webkit.org/289790@main&gt;

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

    </bug>

</bugzilla>