New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662382 link

Starred by 4 users

Issue metadata

Status: Verified
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

incognito bookmarks shouldn't appear on 'recent bookmarks'

Reported by jleedev@gmail.com, Nov 4 2016

Issue description

Steps to reproduce the problem:
1. In Incognito, browse to a page that you have bookmarked, or open the bookmark specifically
2. Open regular tab and see your browsing history right there

What is the expected behavior?
Recent bookmarks should exclude page visits that occurred in incognito mode.

If possible, it should exclude bookmarks that were created from an incognito window.

Obviously, the fact that a page is bookmarked cannot be discarded upon exiting incognito mode, but "This page was visited at this time" seems as close to browsing history as you can get. This gives the user the impression that bookmarking a page exempts it from the promise Chrome makes when you open an incognito window, which is confusing.

What went wrong?
The "Recent bookmarks" section in the new tab page shows bookmarked pages that were visited in incognito (and when!).

Did this work before? N/A 

Chrome version: 54.0.2840.68  Channel: stable
OS Version: Android 7.0.0; Nexus 5X Build/NBD90W
Flash Version: 

I am quite amused to reopen, nearly word for word, a seven-year-old bug with five-digit id number (15392).

The resolution of that bug was "We reimplemented the new tab page", which happened a dozen times since and has wrapped around back to where it started.
 

Comment 1 by kravula@google.com, Nov 4 2016

Cc: pam@chromium.org dgn@chromium.org
Owner: nepper@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by kolos@chromium.org, Dec 12 2016

Components: Privacy

Comment 3 by nepper@chromium.org, Dec 12 2016

Cc: -pam@chromium.org tschumann@chromium.org nepper@chromium.org
Components: UI>Browser>NewTabPage
Labels: -Pri-2 M-56 zine-bookmarks zine-triaged Pri-1
Owner: jkrcal@chromium.org
Thanks for the report!

Comment 5 by jkrcal@chromium.org, Dec 19 2016

Status: Fixed (was: Assigned)
Still need to verify it in the last canary and merge to M56.

Comment 6 by jkrcal@chromium.org, Dec 22 2016

Labels: Merge-Request-56
Status: Verified (was: Fixed)
Verified on 57.0.2957.0.

I would like to merge to M56 because this is a privacy-sensitive bug. The CL is relatively small.

Comment 7 by dimu@chromium.org, Dec 22 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)
Project Member

Comment 8 by sheriffbot@chromium.org, Dec 26 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 9 by sheriffbot@chromium.org, Dec 29 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 10 by bugdroid1@chromium.org, Jan 2 2017

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/62f09cadded58c144c804dfacf0ef7305247ad90

commit 62f09cadded58c144c804dfacf0ef7305247ad90
Author: Jan Krcal <jkrcal@chromium.org>
Date: Mon Jan 02 11:45:55 2017

Disable tracking of visits to bookmarks in incognito

Date of the last visit to any bookmarked page is stored to
BookmarkModel. Previously, this happens in off-the-record profiles as
well. This CL fixes the issue.

BUG= 662382 

Review-Url: https://codereview.chromium.org/2572433002
Cr-Commit-Position: refs/heads/master@{#438845}
(cherry picked from commit 1e385fa1c19d96f343594a0623a7985adb50c483)

Review-Url: https://codereview.chromium.org/2603213002 .
Cr-Commit-Position: refs/branch-heads/2924@{#641}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/62f09cadded58c144c804dfacf0ef7305247ad90/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc
[modify] https://crrev.com/62f09cadded58c144c804dfacf0ef7305247ad90/chrome/browser/ntp_snippets/bookmark_last_visit_updater.h
[add] https://crrev.com/62f09cadded58c144c804dfacf0ef7305247ad90/chrome/browser/ntp_snippets/bookmark_last_visit_updater_unittest.cc
[modify] https://crrev.com/62f09cadded58c144c804dfacf0ef7305247ad90/chrome/browser/ui/tab_helpers.cc
[modify] https://crrev.com/62f09cadded58c144c804dfacf0ef7305247ad90/chrome/test/BUILD.gn

Project Member

Comment 11 by bugdroid1@chromium.org, Jan 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/09a5dafdb83912be2c0033c29fde7e641c5118c8

commit 09a5dafdb83912be2c0033c29fde7e641c5118c8
Author: jkrcal <jkrcal@chromium.org>
Date: Tue Jan 03 09:23:43 2017

Revert of Disable tracking of visits to bookmarks in incognito (patchset #1 id:1 of https://codereview.chromium.org/2603213002/ )

Reason for revert:
bookmark_last_visit_updater_unittest.cc does not compile on the M56 branch.

Signature of one function that I use in the unit-test is different from the one on trunk, I need to fix it.

Original issue's description:
> Disable tracking of visits to bookmarks in incognito
>
> Date of the last visit to any bookmarked page is stored to
> BookmarkModel. Previously, this happens in off-the-record profiles as
> well. This CL fixes the issue.
>
> BUG= 662382 
>
> Had to manually resolve (trivial) conflicts within drover when merging to M56, so I add TBR.
>
> TBR=avi@chromium.org,bauerb@chromium.org,battre@chromium.org
>
> Review-Url: https://codereview.chromium.org/2572433002
> Cr-Commit-Position: refs/heads/master@{#438845}
> (cherry picked from commit 1e385fa1c19d96f343594a0623a7985adb50c483)
>
> Committed: https://chromium.googlesource.com/chromium/src/+/62f09cadded58c144c804dfacf0ef7305247ad90

TBR=avi@chromium.org,bauerb@chromium.org,battre@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 662382 

Review-Url: https://codereview.chromium.org/2606283003
Cr-Commit-Position: refs/branch-heads/2924@{#643}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/09a5dafdb83912be2c0033c29fde7e641c5118c8/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc
[modify] https://crrev.com/09a5dafdb83912be2c0033c29fde7e641c5118c8/chrome/browser/ntp_snippets/bookmark_last_visit_updater.h
[delete] https://crrev.com/b5392712e6b107d76bcfb594ba0cfdf87c946b0e/chrome/browser/ntp_snippets/bookmark_last_visit_updater_unittest.cc
[modify] https://crrev.com/09a5dafdb83912be2c0033c29fde7e641c5118c8/chrome/browser/ui/tab_helpers.cc
[modify] https://crrev.com/09a5dafdb83912be2c0033c29fde7e641c5118c8/chrome/test/BUILD.gn

Status: Started (was: Verified)
I had to revert the merged CL, I started working on a fixed CL for the M56 branch.
Project Member

Comment 13 by bugdroid1@chromium.org, Jan 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a3d2182e6981362bd8e66ca4f706922927429bb0

commit a3d2182e6981362bd8e66ca4f706922927429bb0
Author: jkrcal <jkrcal@chromium.org>
Date: Tue Jan 03 16:43:58 2017

Disable tracking of visits to bookmarks in incognito

Date of the last visit to any bookmarked page is stored to
BookmarkModel. Previously, this happens in off-the-record profiles as
well. This CL fixes the issue.

Did not merge cleanly (with simple conflicts, though).
Compared to the original CL, this also adapts to a difference in the M56
branch from trunk - ntp_snippets::GetRecentlyVisitedBookmarks() takes 6
arguments.

BUG= 662382 , 677814
NOTRY=true
NOPRESUBMIT=true

Review-Url: https://codereview.chromium.org/2572433002
Cr-Commit-Position: refs/heads/master@{#438845}
(cherry picked from commit 1e385fa1c19d96f343594a0623a7985adb50c483)

Review-Url: https://codereview.chromium.org/2603323002
Cr-Commit-Position: refs/branch-heads/2924@{#647}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/a3d2182e6981362bd8e66ca4f706922927429bb0/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc
[modify] https://crrev.com/a3d2182e6981362bd8e66ca4f706922927429bb0/chrome/browser/ntp_snippets/bookmark_last_visit_updater.h
[add] https://crrev.com/a3d2182e6981362bd8e66ca4f706922927429bb0/chrome/browser/ntp_snippets/bookmark_last_visit_updater_unittest.cc
[modify] https://crrev.com/a3d2182e6981362bd8e66ca4f706922927429bb0/chrome/browser/ui/tab_helpers.cc
[modify] https://crrev.com/a3d2182e6981362bd8e66ca4f706922927429bb0/chrome/test/BUILD.gn

Verified in M56-56.0.2924.51
+jkrcal -- we can mark this as fixed, right?
Status: Verified (was: Started)

Sign in to add a comment