Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 2166943002: Fix incognito tabs persisting when cct service is active (Closed)

Created:
4 years, 5 months ago by agrieve
Modified:
4 years, 5 months ago
Reviewers:
Theresa, gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix incognito tabs persisting when cct service is active Swiping away the Chrome activity does not cause the process to be killed if a Chrome Custom Tab is open somewhere. In this case, when Chrome is started again, the CipherData static still has the old Activity's incognito key stored in it and the tabs are unexpectedly restored. This changes the start-up behaviour to explicitly ignore incognito tab state files when no bundle is passed to the activity's onCreate. BUG=626629 Committed: https://crrev.com/eb712422db840465b17318a3fefc99a63e2cc734 Cr-Commit-Position: refs/heads/master@{#406747}

Patch Set 1 #

Total comments: 3

Patch Set 2 : remove tests #

Messages

Total messages: 15 (4 generated)
agrieve
Created a new review to have just the changes for M52. Will rebase https://codereview.chromium.org/2143203002 ontop ...
4 years, 5 months ago (2016-07-20 20:00:26 UTC) #2
Theresa
lgtm % I think we should restrict testIncognitoTabsNotRestoredAfterSwipe() to L+ https://codereview.chromium.org/2166943002/diff/1/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationTestUtils.java File chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationTestUtils.java (right): https://codereview.chromium.org/2166943002/diff/1/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ApplicationTestUtils.java#newcode137 ...
4 years, 5 months ago (2016-07-20 20:19:14 UTC) #3
gone
lgtm % Teresa's comments about the test change. ApplicationTestUtils#setUp affects every single test, which we ...
4 years, 5 months ago (2016-07-20 20:29:21 UTC) #4
agrieve
WDYT about just deleting the test for this patch and adding it in for the ...
4 years, 5 months ago (2016-07-20 20:41:15 UTC) #5
agrieve
On 2016/07/20 20:41:15, agrieve wrote: > WDYT about just deleting the test for this patch ...
4 years, 5 months ago (2016-07-20 20:42:26 UTC) #6
Theresa
On 2016/07/20 20:41:15, agrieve wrote: > WDYT about just deleting the test for this patch ...
4 years, 5 months ago (2016-07-20 20:43:50 UTC) #7
Theresa
On 2016/07/20 20:41:15, agrieve wrote: > WDYT about just deleting the test for this patch ...
4 years, 5 months ago (2016-07-20 20:43:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2166943002/20001
4 years, 5 months ago (2016-07-21 02:10:56 UTC) #11
agrieve
On 2016/07/20 20:43:51, Theresa Wellington wrote: > On 2016/07/20 20:41:15, agrieve wrote: > > WDYT ...
4 years, 5 months ago (2016-07-21 02:20:16 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-21 03:07:10 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 03:08:32 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eb712422db840465b17318a3fefc99a63e2cc734
Cr-Commit-Position: refs/heads/master@{#406747}

Powered by Google App Engine
This is Rietveld 408576698