Bug 241885 - Ignore history items added by JS without user interaction when navigation back/forward via the WKWebView API
Summary: Ignore history items added by JS without user interaction when navigation bac...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 242947
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-22 16:26 PDT by Chris Dumez
Modified: 2022-07-20 09:36 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-06-22 16:26:02 PDT
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.
Comment 1 Chris Dumez 2022-06-22 16:26:17 PDT
<rdar://94838657>
Comment 2 Chris Dumez 2022-06-22 16:43:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1705
Comment 3 EWS 2022-06-23 09:17:09 PDT
Committed r295778 (251783@main): <https://commits.webkit.org/251783@main>

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