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

Issue 12224092: SessionStorageDatabase fix: Delete namespace keys if there are no areas. (Closed)

Created:
7 years, 10 months ago by marja
Modified:
7 years, 10 months ago
Reviewers:
michaeln
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

SessionStorageDatabase fix: Delete namespace keys if there are no areas. Before the change, the database would contain leftover "namespace-namespaceid-" keys with no areas. This change ensures that they are not left over, and that the existing leftover keys are scavenged. (This will delete the leftover data for users who have it.) BUG=175232 R=michaeln Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182259

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code review (michaeln) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -1 line) Patch
M webkit/dom_storage/session_storage_database.cc View 1 2 chunks +23 lines, -0 lines 0 comments Download
M webkit/dom_storage/session_storage_database_unittest.cc View 5 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
marja
ptal
7 years, 10 months ago (2013-02-11 11:06:20 UTC) #1
michaeln
lgtm, thnx for looking at this one marja! https://codereview.chromium.org/12224092/diff/1/webkit/dom_storage/session_storage_database.cc File webkit/dom_storage/session_storage_database.cc (right): https://codereview.chromium.org/12224092/diff/1/webkit/dom_storage/session_storage_database.cc#newcode245 webkit/dom_storage/session_storage_database.cc:245: (*namespaces_and_origins)[current_namespace_id]; ...
7 years, 10 months ago (2013-02-12 01:42:46 UTC) #2
marja
Thanks for review! https://codereview.chromium.org/12224092/diff/1/webkit/dom_storage/session_storage_database.cc File webkit/dom_storage/session_storage_database.cc (right): https://codereview.chromium.org/12224092/diff/1/webkit/dom_storage/session_storage_database.cc#newcode245 webkit/dom_storage/session_storage_database.cc:245: (*namespaces_and_origins)[current_namespace_id]; On 2013/02/12 01:42:46, michaeln wrote: ...
7 years, 10 months ago (2013-02-12 09:10:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/12224092/5001
7 years, 10 months ago (2013-02-12 09:11:03 UTC) #4
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98634
7 years, 10 months ago (2013-02-12 11:23:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/12224092/5001
7 years, 10 months ago (2013-02-12 11:28:16 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98676
7 years, 10 months ago (2013-02-12 14:00:24 UTC) #7
marja
Trying with the CQ once more, maybe these were the tests which were green on ...
7 years, 10 months ago (2013-02-13 17:09:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/12224092/5001
7 years, 10 months ago (2013-02-13 17:09:58 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 18:25:57 UTC) #10
Message was sent while issue was closed.
Change committed as 182259

Powered by Google App Engine
This is Rietveld 408576698