Chromium Code Reviews
DescriptionLast_n: create snapshots from user triggers even if similar quality ones exist.
With this change when a tab-hidden event happens a last_n snapshot will
be created even if one already exists with the same expected quality
level. This should fix cases of very dynamic pagesnot being properly
saved, where contents are completely changed without clear navigation or
loading events being triggered.
This also re-introduces the ignoring of same-page navigations when
listening to DidFinishNavigation so that we don't reset the loading
state of the page in those cases.
BUG=691506, 678367
Review-Url: https://codereview.chromium.org/2698713002
Cr-Commit-Position: refs/heads/master@{#451819}
Committed: https://chromium.googlesource.com/chromium/src/+/f0b30fafe9d73f73c430895d289ab83c3e818d20
Patch Set 1 #Patch Set 2 : Snapshots use the current URL from the WebContents instead of an old one. #Patch Set 3 : Add unit test for same page navigations. #Patch Set 4 : Rebase. #
Messages
Total messages: 27 (19 generated)
|
|||||||||||||||||||||||||||||||||||||