|
|
Created:
5 years, 8 months ago by erikchen Modified:
5 years, 8 months ago Reviewers:
erikwright (departed) CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam Base URL:
https://chromium.googlesource.com/chromium/src.git@migrate_to_v9 Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionDelete session cookies immediately after loading the cookie DB.
Previously, the session cookies were deleted after all cookies were loaded into
memory. This allows for a race condition where new session cookies are inserted
into the database while the cookies are being loaded into memory, which causes
the new session cookies to also be deleted.
BUG=
Committed: https://crrev.com/ca924dcfb4f3c6b89e0c40898e42aec349b6b843
Cr-Commit-Position: refs/heads/master@{#326672}
Patch Set 1 #Patch Set 2 : Add unit test. #Patch Set 3 : Fix calls to constructor for base::Time(). #Patch Set 4 : Fix memory leak in unit test. #
Messages
Total messages: 35 (15 generated)
erikchen@chromium.org changed reviewers: + erikwright@chromium.org
erikwright: Please review. This CL depends on https://codereview.chromium.org/1083623003/.
LGTM
On 2015/04/17 01:22:00, erikwright wrote: > LGTM Actually, is it possible to add a regression test? Presumably with the previous code, a session cookie for a domain would still be present when it first loaded, even if restore was disabled. I assume this can be tested.
Patchset #3 (id:40001) has been deleted
Patchset #2 (id:20001) has been deleted
Patchset #2 (id:60001) has been deleted
erikwright: Add a unit test. PTAL
LGTM. I assume you confirmed the test fails before your change?
On 2015/04/17 20:48:10, erikwright wrote: > LGTM. I assume you confirmed the test fails before your change? That is correct.
On 2015/04/17 20:51:28, erikchen wrote: > On 2015/04/17 20:48:10, erikwright wrote: > > LGTM. I assume you confirmed the test fails before your change? > > That is correct. Otherwise it wouldn't be a very useful test. ^-^
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097593002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_r...)
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097593002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile...)
The CQ bit was checked by erikchen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from erikwright@chromium.org Link to the patchset: https://codereview.chromium.org/1097593002/#ps100001 (title: "Fix calls to constructor for base::Time().")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097593002/100001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097593002/100001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
On 2015/04/23 17:51:46, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > linux_chromium_asan_rel on tryserver.chromium.linux (JOB_FAILED, > http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) Oh, duh. It's the unittest leaking the cookies.
The CQ bit was checked by erikchen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from erikwright@chromium.org Link to the patchset: https://codereview.chromium.org/1097593002/#ps120001 (title: "Fix memory leak in unit test.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097593002/120001
Message was sent while issue was closed.
Committed patchset #4 (id:120001)
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/ca924dcfb4f3c6b89e0c40898e42aec349b6b843 Cr-Commit-Position: refs/heads/master@{#326672}
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:120001) has been created in https://codereview.chromium.org/1077963006/ by jdonnelly@chromium.org. The reason for reverting is: This CL broke the Win7 Tests (dbg)(1) bot. https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%2.... |