DescriptionMerge 93296 - Prepare frames for history navigation.
Before beginning an explicit history navigation in a newly initialized
frame, it's important to give a "previous" item to avoid crashes, and
give a state to the state machine to avoid extra validating loads.
https://bugs.webkit.org/show_bug.cgi?id=66322
Reviewed by Darin Fisher.
Source/WebCore:
No new tests, as history navigation is very difficult to test in
DumpRenderTree.
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::prepareForHistoryNavigation):
* loader/FrameLoader.h:
Source/WebKit/chromium:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::loadHistoryItem):
TBR=gavinp@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93533
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|