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

Issue 9594038: Relax strict quota limit checks when reading pre-existing DomStorage database files. The other chec… (Closed)

Created:
8 years, 9 months ago by michaeln
Modified:
8 years, 9 months ago
Reviewers:
benm (inactive)
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Relax strict quota limit checks when reading pre-existing DomStorage database files. The other checks will disallow increases that exceed the limit, but when it comes to existing files its not clear that the checks on open will pass. So we'll grandfather in the existing files. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=125524

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -23 lines) Patch
M webkit/dom_storage/dom_storage_map.h View 1 2 3 1 chunk +7 lines, -4 lines 0 comments Download
M webkit/dom_storage/dom_storage_map.cc View 1 2 3 2 chunks +10 lines, -11 lines 0 comments Download
M webkit/dom_storage/dom_storage_map_unittest.cc View 1 2 3 4 3 chunks +12 lines, -8 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
michaeln
ptal
8 years, 9 months ago (2012-03-05 21:53:44 UTC) #1
benm (inactive)
http://codereview.chromium.org/9594038/diff/2002/webkit/dom_storage/dom_storage_map.cc File webkit/dom_storage/dom_storage_map.cc (right): http://codereview.chromium.org/9594038/diff/2002/webkit/dom_storage/dom_storage_map.cc#newcode78 webkit/dom_storage/dom_storage_map.cc:78: // Only check quota if the size is increasing ...
8 years, 9 months ago (2012-03-06 11:31:15 UTC) #2
michaeln
http://codereview.chromium.org/9594038/diff/2002/webkit/dom_storage/dom_storage_map.cc File webkit/dom_storage/dom_storage_map.cc (right): http://codereview.chromium.org/9594038/diff/2002/webkit/dom_storage/dom_storage_map.cc#newcode78 webkit/dom_storage/dom_storage_map.cc:78: // Only check quota if the size is increasing ...
8 years, 9 months ago (2012-03-06 20:37:51 UTC) #3
benm (inactive)
http://codereview.chromium.org/9594038/diff/7001/webkit/dom_storage/dom_storage_map_unittest.cc File webkit/dom_storage/dom_storage_map_unittest.cc (right): http://codereview.chromium.org/9594038/diff/7001/webkit/dom_storage/dom_storage_map_unittest.cc#newcode117 webkit/dom_storage/dom_storage_map_unittest.cc:117: EXPECT_TRUE(map->SetItem(kKey, string16(), &old_nullable_value)); I think that this SetItem() will ...
8 years, 9 months ago (2012-03-06 23:55:24 UTC) #4
michaeln
On 2012/03/06 23:55:24, benm wrote: > http://codereview.chromium.org/9594038/diff/7001/webkit/dom_storage/dom_storage_map_unittest.cc > File webkit/dom_storage/dom_storage_map_unittest.cc (right): > > http://codereview.chromium.org/9594038/diff/7001/webkit/dom_storage/dom_storage_map_unittest.cc#newcode117 > ...
8 years, 9 months ago (2012-03-07 00:43:19 UTC) #5
michaeln
new snapshot (i had forgotten to upload yesterday)
8 years, 9 months ago (2012-03-07 19:45:45 UTC) #6
benm (inactive)
lgtm! http://codereview.chromium.org/9594038/diff/12001/webkit/dom_storage/dom_storage_map_unittest.cc File webkit/dom_storage/dom_storage_map_unittest.cc (right): http://codereview.chromium.org/9594038/diff/12001/webkit/dom_storage/dom_storage_map_unittest.cc#newcode115 webkit/dom_storage/dom_storage_map_unittest.cc:115: // When overbudget, a new value of greater ...
8 years, 9 months ago (2012-03-07 23:25:07 UTC) #7
michaeln
8 years, 9 months ago (2012-03-08 01:17:59 UTC) #8
> s/the/than/ ?

Done

Powered by Google App Engine
This is Rietveld 408576698