DescriptionEnsure that renderer-initiated pending entries can be replaced when a new
navigation is started.
We don't replace browser-initiated pending entries in didStartProvisionalLoad
because either (1) they were just created for this navigation and are already
correct, (2) they're for a different SiteInstance and won't be used upon
commit, or (3) they're same-site (see below).
Note that pending entries for same-site browser-initiated navigations can be
incorrectly used for renderer-initiated navigations that interrupt them, but
that's a long standing bug that we can address separately.
BUG=266922
TEST=See bug for repro steps.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215836
Patch Set 1 #Patch Set 2 : Avoid memory error when replacing pending entry. #
Messages
Total messages: 4 (0 generated)
|