DescriptionA number of issues weren't addressed with the earlier patch for prerender + browsing history, particularly for instant pages.
- The "remove first entry" option used by instant was not being handled correctly when there was only one committed entry in the NavigationController.
- Renderer-issued navigations which were committed in the browser but not yet known by the browser/NavigationController were being incorrectly pruned. This did not happen regularly in the prerender case, but does in the instant case, particularly when changing what's typed in the omnibox.
- Some additional sanity testing to make sure that the message is sent to the correct render process.
- Additional unit tests are added.
BUG=89798
TEST=NavigationControllerTest.CopyStateFromAndPrune*, RenderViewTest.SetHistoryLengthAndPrune.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96724
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fixes #Patch Set 3 : New tests #Patch Set 4 : Added render_view_test #Patch Set 5 : Small changes #
Total comments: 17
Patch Set 6 : Updates #Patch Set 7 : Fix browser_tests #Patch Set 8 : Minor comment fix #
Total comments: 7
Patch Set 9 : Checks for pending_render_view_host_ #
Total comments: 6
Patch Set 10 : Offset navigation disallowed #Patch Set 11 : Wrong signature #
Total comments: 2
Messages
Total messages: 17 (0 generated)
|