Remove LockHistory parameter from loadWithNavigationAction since NavigationAction has a member for this. Where needed explicitly set the LockHistory on the actions.
Created attachment 395456 [details] Patch
Comment on attachment 395456 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395456&action=review > Source/WebCore/loader/FrameLoader.cpp:1424 > - loadWithNavigationAction(request, WTFMove(action), lockHistory, newLoadType, WTFMove(formState), allowNavigationToInvalidURL, frameLoadRequest.downloadAttribute(), [this, isRedirect, sameURL, newLoadType, protectedFrame = makeRef(m_frame), completionHandler = completionHandlerCaller.release()] () mutable { > + loadWithNavigationAction(request, WTFMove(action), newLoadType, WTFMove(formState), allowNavigationToInvalidURL, frameLoadRequest.downloadAttribute(), [this, isRedirect, sameURL, newLoadType, protectedFrame = makeRef(m_frame), completionHandler = completionHandlerCaller.release()] () mutable { How did you determine that it’s not necessary to call setLockHistory on the action here, the way you did in FrameLoader::loadWithNavigationAction?
Comment on attachment 395456 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395456&action=review >> Source/WebCore/loader/FrameLoader.cpp:1424 >> + loadWithNavigationAction(request, WTFMove(action), newLoadType, WTFMove(formState), allowNavigationToInvalidURL, frameLoadRequest.downloadAttribute(), [this, isRedirect, sameURL, newLoadType, protectedFrame = makeRef(m_frame), completionHandler = completionHandlerCaller.release()] () mutable { > > How did you determine that it’s not necessary to call setLockHistory on the action here, the way you did in FrameLoader::loadWithNavigationAction? Oh, I see now. It’s already done above.
Committed r259544: <https://trac.webkit.org/changeset/259544> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395456 [details].
<rdar://problem/61308935>