Bug 242618

Summary: TestWebKitAPI.ProcessSwap.NavigateToCrossSiteThenBackFromJS is flaky
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hercules Hjalmarsson 2022-07-11 17:09:48 PDT
TestWebKitAPI.ProcessSwap.NavigateToCrossSiteThenBackFromJS

Is a constant failure on iOS Release ToT. Last passing on revision 252133@main.

HISTORY:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ProcessSwap.NavigateToCrossSiteThenBackFromJS

DIFF:
Volumes/Data/worker/Apple-iOS-15-Simulator-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:4998
Expected equality of these values:
3
numberOfDecidePolicyCalls
Which is: 4

DIFF URL:
https://build.webkit.org/#/builders/270/builds/2087/steps/18/logs/stdio
Comment 1 Hercules Hjalmarsson 2022-07-11 17:11:46 PDT
I was able to reproduce this issue on iOS Release ToT by running command:

run-api-tests TestWebKitAPI.ProcessSwap.NavigateToCrossSiteThenBackFromJS
Comment 2 Radar WebKit Bug Importer 2022-07-11 17:11:58 PDT
<rdar://problem/96851689>
Comment 3 Chris Dumez 2022-07-12 12:48:11 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2330
Comment 4 EWS 2022-07-13 09:19:26 PDT
Committed 252414@main (0ed89420683f): <https://commits.webkit.org/252414@main>

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