Bug 255538

Summary: [ iOS, macOS Debug ] imported/w3c/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.html is a flaky crash.
Product: WebKit Reporter: Bri Harris <bharris9>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Bri Harris 2023-04-17 11:25:28 PDT
imported/w3c/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.html

is a flaky crash primarily on macOS Debug but has seen some crashes on iOS 16 and iPad OS.


HISTORY:

https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fbackground-fetch%2Fmixed-content-and-allowed-schemes.https.window.html


No Crash log but a stderr:

ServiceWorkerProcess terminated (pid 6221) for reason: crash
LEAK: 1 WebPageProxy

When ran locally, it states that tests has no output.
Comment 1 Radar WebKit Bug Importer 2023-04-17 11:26:20 PDT
<rdar://problem/108150330>
Comment 2 Bri Harris 2023-04-17 11:27:46 PDT
When attempting to replicate this crash locally, the test timed out instead of crash. 

I attempted the replication on Ventura and iOS ToT as follows:

run-webkit-tests --root imported/w3c/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.html --iteration 10 

run-webkit-tests --iOS-simulator --root imported/w3c/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.html 


With the macOS iterations, I produced a timeout on all 10.