REGRESSION (r169805): WKWebView canGoBack returning YES when nothing is in the back-forward list after restoring session state
Created attachment 291899 [details] Patch
Steps To Reproduce: 1. Create a WKWebView and navigate to a page. 2. Use -[WKWebView _sessionStateWithFilter:] to remove the one item in the WKWebView’s back forward list, and use -[WKWebView _restoreSessionState:andNavigate:] (navigate = NO) to restore the empty back forward list. 3. Observe the value of -[WKWebView canGoBack]. Results: -[WKWebView canGoBack] returns YES even though there are no items in the back list. Regression: This bug was introduced by: https://trac.webkit.org/changeset/169805
Comment on attachment 291899 [details] Patch Clearing flags on attachment: 291899 Committed r207445: <http://trac.webkit.org/changeset/207445>
All reviewed patches have been landed. Closing bug.