Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r186287 - [WK2] WebBackForwardListItems' pageState is not kept …
…up-to-date https://bugs.webkit.org/show_bug.cgi?id=146614 <rdar://problem/21585268> Reviewed by Gavin Barraclough. WebBackForwardListItems' pageState on UIProcess-side were not kept up-to-date when it was updated on WebContent process side. This meant that we were losing the scroll position (among other things) when transferring the session state over from one view to another. We now call notifyHistoryItemChanged(item) after saving the scroll position and the view state on the HistoryItem. As a result, the WebBackForwardListProxy will send the updated pageState to the UIProcess. * history/HistoryItem.cpp: (WebCore::HistoryItem::notifyChanged): * history/HistoryItem.h: * loader/HistoryController.cpp: (WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
- Loading branch information
1 parent
e92b828
commit 724ced4
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters