Bug 251963

Summary: [ iOS ] imported/w3c/web-platform-tests/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-so.https.html is a flaky failure.
Product: WebKit Reporter: Bri Harris <bharris9>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Bri Harris 2023-02-08 17:22:35 PST
The 5 tests under 

imported/w3c/web-platform-tests/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-so.https.html

are flaky failures on iOS. This test has also experienced some timeouts but is overall a failure. 

HISTORY:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Ftentative%2Frestrict-properties%2Fiframe-popup-to-so.https.html%3F1-2&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Ftentative%2Frestrict-properties%2Fiframe-popup-to-so.https.html%3F3-4&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Ftentative%2Frestrict-properties%2Fiframe-popup-to-so.https.html%3F5-6


DIFF TEXT:
--- /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https_1-2-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https_1-2-actual.txt
@@ -1,8 +1,11 @@
+
+
+Harness Error (TIMEOUT), message = null
 
 PASS COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same origin iframe, same origin popup with window_open
 PASS COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same origin iframe, same origin popup with anchor
-PASS COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same origin iframe, same origin popup with form
-PASS COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same site iframe, same origin popup with window_open
-PASS COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same site iframe, same origin popup with anchor
-PASS COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same site iframe, same origin popup with form
+TIMEOUT COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same origin iframe, same origin popup with form Test timed out
+NOTRUN COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same site iframe, same origin popup with window_open
+NOTRUN COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same site iframe, same origin popup with anchor
+NOTRUN COOP: same-origin-allow-popups to popup COOP: same-origin via an iframe, with same site iframe, same origin popup with form
Comment 1 Bri Harris 2023-02-08 17:23:18 PST
I was able to reproduce these failures:
run-webkit-tests imported/w3c/web-platform-tests/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-so.https.html --force 

This test run results in failures for set 1-2, 5-6 and 9-last and 2 crashes for set 3-4 and 7-8. I also reran at ToT with Timeouts across the board.
Comment 2 Bri Harris 2023-02-08 17:32:27 PST
This test was previously filed 

https://bugs.webkit.org/show_bug.cgi?id=243690

and reverted with this commit 256429@main. However, these tests are still failing.
Comment 3 Radar WebKit Bug Importer 2023-02-09 13:11:53 PST
<rdar://problem/105236449>