Bug 239577

Summary: [ macOS wk2 ] imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.tentative.html is a flaky failure
Product: WebKit Reporter: Karl Rackler <rackler>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Karl Rackler 2022-04-20 17:14:35 PDT
Description:
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.tentative.html

There was not one commit that I observed causing this issue.  This test seems to have landed flaky from the start on Big Sur and Monterey after a WPT resync @ Canonical link: https://commits.webkit.org/243907@main
| git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285346 268f45cc-cd09-0410-ab3c-d52691b4dbfc

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fthe-iframe-element%2Fiframe_sandbox_anchor_download_block_downloads.tentative.html&platform=mac&limit=50000

Diff:
--- /Volumes/Data/worker/monterey-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.tentative-expected.txt
+++ /Volumes/Data/worker/monterey-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.tentative-actual.txt
@@ -1,4 +1,6 @@
+Download size: 0.
 CONSOLE MESSAGE: Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
+Download size: 0.
 
 
 FAIL <a download> triggered download in sandbox is blocked. assert_equals: Expect no download to happen, but got one. expected "TOKEN_NOT_SET" but got "TOKEN_SET"
Comment 1 Radar WebKit Bug Importer 2022-04-20 17:15:03 PDT
<rdar://problem/92061527>
Comment 2 Karl Rackler 2022-04-20 17:22:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/336
Comment 3 Karl Rackler 2022-04-20 17:22:38 PDT
I have marked this test as a flaky failure while this issue is investigated.
Comment 4 EWS 2022-04-20 17:25:54 PDT
Committed r293131 (249833@main): <https://commits.webkit.org/249833@main>

Reviewed commits have been landed. Closing PR #336 and removing active labels.
Comment 5 Karl Rackler 2022-04-20 17:26:15 PDT
Reopened because the issue is still being investigated.