After the following snippet: [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.webkit.org"]]]; [webView stopLoading]; webView.loading stays YES even though the load has been cancelled, and is never updated back to NO. PageLoadState has a non-null pendingAPIRequest URL since nothing ever calls PageLoadState::clearPendingAPIRequest This seems to be because the WebProcess is told to stopLoading after it's already sent the decidePolicyForNavigationAction IPC (which the UIProcess handles in the usual way) but before it receives the policy decision.
@Ali: Is this still happening for you?
(In reply to Brent Fulgham from comment #1) > @Ali: Is this still happening for you? Yes, this still happens (tested on iOS 16 beta 2).
<rdar://problem/96401001>
Pulling in as active issue in current builds.