Ignore history items added by JS without user interaction when navigation back/forward via the WKWebView API. This is a behavior similar to the intervention made in Chrome (https://bugs.chromium.org/p/chromium/issues/detail?id=907167) to prevent websites from hijacking the back/forward list.
<rdar://94838657>
Pull request: https://github.com/WebKit/WebKit/pull/1705
Committed r295778 (251783@main): <https://commits.webkit.org/251783@main> Reviewed commits have been landed. Closing PR #1705 and removing active labels.