Bug 243069

Summary: [ BigSur wk2 EWS ] 4X http/tests/storageAccess/request-and-grant-access- (Layout tests) are flaky failures
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, webkit-bot-watchers-bugzilla, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hercules Hjalmarsson 2022-07-21 12:44:44 PDT
http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction.html

Is a flaky text failure on BigSur wk2 commit-queue. Issue only appears to be happening on commit-queue as shown in history.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2FstorageAccess%2Frequest-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction.html

DIFF:
--- /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-expected.txt
+++ /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-actual.txt
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS Storage access was granted. document.cookie == , cookies seen server-side == "No cookies"
+PASS Storage access was granted. document.cookie == firstPartyCookie=value, cookies seen server-side == {"firstPartyCookie":"value"}
 PASS successfullyParsed is true
 
 TEST COMPLETE

DIFF URL:
https://ews-build.s3-us-west-2.amazonaws.com/Merge-Queue/454f1f66-1871/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-pretty-diff.html
Comment 1 Radar WebKit Bug Importer 2022-07-21 12:45:11 PDT
<rdar://problem/97394797>
Comment 2 Hercules Hjalmarsson 2022-07-21 12:46:35 PDT
I'm unable to reproduce the flaky failure on the commit-queue. Setting expectations.
Comment 3 Hercules Hjalmarsson 2022-07-21 13:29:15 PDT
*** Bug 243067 has been marked as a duplicate of this bug. ***
Comment 4 Hercules Hjalmarsson 2022-07-21 13:30:13 PDT
Found multiple flaky text failure tests under commit-queue that appear to have the same (very similar) DIFFs:

http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-ephemeral.html
http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe.html 
http/tests/storageAccess/request-and-grant-access-with-per-page-scope-access-from-another-frame.html

DIFF(S):

--- /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-expected.txt
+++ /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-actual.txt
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS Storage access was granted. document.cookie == , cookies seen server-side == "No cookies"
+PASS Storage access was granted. document.cookie == firstPartyCookie=value, cookies seen server-side == {"firstPartyCookie":"value"}
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 5 EWS 2022-07-21 13:46:12 PDT
Test gardening commit 252703@main (e27c3b0802cd): <https://commits.webkit.org/252703@main>

Reviewed commits have been landed. Closing PR #2631 and removing active labels.