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

Issue 10826159: Browser test for migrating from schema v0 to v1 (Closed)

Created:
8 years, 4 months ago by dgrogan
Modified:
8 years, 4 months ago
Reviewers:
jsbell
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, alecflett
Visibility:
Public.

Description

IndexedDB browser test for migrating from leveldb schema v0 to v1. It doesn't check that the integer version was actually added to leveldb though, which is unfortunate. It ensures that opening a v0 database doesn't fail an assert, which is what would happen if you opened an unmigrated database with code that expects to find a stored integer version. BUG=108223 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150458

Patch Set 1 #

Total comments: 5

Patch Set 2 : address comments #

Patch Set 3 : data files already committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -2 lines) Patch
M content/browser/in_process_webkit/indexed_db_browsertest.cc View 1 chunk +38 lines, -0 lines 0 comments Download
M content/test/data/indexeddb/common.js View 1 chunk +5 lines, -0 lines 0 comments Download
A + content/test/data/indexeddb/migration_test.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A content/test/data/indexeddb/migration_test.js View 1 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dgrogan
Josh, could you review this? The leveldb directory is from a clean profile that ran ...
8 years, 4 months ago (2012-08-04 03:27:21 UTC) #1
dgrogan
https://chromiumcodereview.appspot.com/10826159/diff/1/content/test/data/indexeddb/migration_test.js File content/test/data/indexeddb/migration_test.js (right): https://chromiumcodereview.appspot.com/10826159/diff/1/content/test/data/indexeddb/migration_test.js#newcode13 content/test/data/indexeddb/migration_test.js:13: db = event.target.result; I should add a line that ...
8 years, 4 months ago (2012-08-04 03:30:39 UTC) #2
jsbell
lgtm http://codereview.chromium.org/10826159/diff/1/content/test/data/indexeddb/migration_test.js File content/test/data/indexeddb/migration_test.js (right): http://codereview.chromium.org/10826159/diff/1/content/test/data/indexeddb/migration_test.js#newcode13 content/test/data/indexeddb/migration_test.js:13: db = event.target.result; On 2012/08/04 03:30:39, dgrogan wrote: ...
8 years, 4 months ago (2012-08-04 03:42:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgrogan@chromium.org/10826159/13002
8 years, 4 months ago (2012-08-07 22:13:07 UTC) #4
dgrogan
http://codereview.chromium.org/10826159/diff/1/content/test/data/indexeddb/migration_test.js File content/test/data/indexeddb/migration_test.js (right): http://codereview.chromium.org/10826159/diff/1/content/test/data/indexeddb/migration_test.js#newcode13 content/test/data/indexeddb/migration_test.js:13: db = event.target.result; On 2012/08/04 03:42:30, jsbell wrote: > ...
8 years, 4 months ago (2012-08-07 22:13:19 UTC) #5
commit-bot: I haz the power
8 years, 4 months ago (2012-08-07 23:53:13 UTC) #6
Change committed as 150458

Powered by Google App Engine
This is Rietveld 408576698