Chromium Code Reviews
DescriptionRevert of Last_n: Delete previously saved snapshot when navigating. (patchset #3 id:40001 of https://codereview.chromium.org/2824623002/ )
Reason for revert:
This test has been crashing:
https://uberchromegw.corp.google.com/i/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/41841/steps/chrome_public_test_apk%20on%20Android
https://uberchromegw.corp.google.com/i/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/41844/steps/chrome_public_test_apk%20on%20Android
Original issue's description:
> Last_n: Delete previously saved snapshot when navigating.
>
> After the switch that made last_n use tab hidden events to trigger the creation
> of snapshots a privacy bug was introduced. Saved pages were deleted along with
> the creation of a new snapshot, what happened only on the next hide event. If
> that never happened before the device would go offline, navigating back would
> eventually present the last snapshotted page, potentially from many history
> steps ago.
>
> This change fixes this bug by storing information about the last successful
> last_n snapshot (just like it's already done for downloads requests) and using
> the offline_id of the previous saved page to delete it upon new navigations.
> Unit tests were updated to comply with this behavior change and new integration
> tests were added to enforce the privacy requirements IRT snapshot deletion.
>
> BUG=711770
>
> Review-Url: https://codereview.chromium.org/2824623002
> Cr-Commit-Position: refs/heads/master@{#465459}
> Committed: https://chromium.googlesource.com/chromium/src/+/0540bc797b12c1ee7d6f648b1502a8a61dc30b8c
TBR=dewittj@chromium.org,agrieve@chromium.org,carlosk@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=711770
Review-Url: https://codereview.chromium.org/2825973002
Cr-Commit-Position: refs/heads/master@{#465500}
Committed: https://chromium.googlesource.com/chromium/src/+/da7280f6fb27c1dc22f19da890f5f227a0770b00
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||