New issue
Advanced search Search tips

Issue 899446 link

Starred by 19 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 1
Type: Bug-Regression



Sign in to add a comment

IndexedDB data read from / written to recent Chrome Canaries is incompatible with Chrome stable/beta

Reported by vsemozhe...@gmail.com, Oct 27

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3592.0 Safari/537.36

Steps to reproduce the problem:
See https://github.com/openstyles/stylus/issues/528

What is the expected behavior?

What went wrong?
All entries in the IndexedDB are replaced by null elements.

WebStore page: Stylus

Did this work before? Yes Previous canary version.

Chrome version: 72.0.3592.0  Channel: canary
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
Bisected to r602911 = d42a4b6fc73f5de8851ee0ee6f64876a5e3efb03 = https://crrev.com/c/1265900 by cmp@chromium.org
"IndexedDB: Move content/renderer/indexed_db/ to Blink"
Landed in 72.0.3592.0

TE@, preparations for repro:
1. set up a new profile using Chrome 72.0.3591.0 or older:
   chrome --user-data-dir=r:\profile
2. install any extension that uses IndexedDB e.g. Stylus:
   https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne/
3. click the extension icon
   click Manage
   in the page that opens click "Write new style"
   type any text in the "Name" input box
   click "Save"

That was the setup phase.
To bisect properly you need to clone this profile directory e.g. by using this command line (in Windows):
python bisect-builds.py -p r:\profilecopy -c "cmd /c rd/s/q r:\\profilecopy & xcopy/s r:\\profile r:\\profilecopy\\ & %p %a "

4. click the extension icon, click "Manage"

Expected: the entry you've created previously should be in the list
Observed: the list is empty, inspecting IndexedDb in devtools shows "null" for the entry
Labels: Needs-Bisect Needs-Triage-M72
Cc: viswa.karala@chromium.org
Components: Blink>Storage>IndexedDB
Labels: -Pri-2 -Needs-Bisect Triaged-ET M-72 hasbisect Pri-1
Owner: c...@chromium.org
Status: Assigned (was: Unconfirmed)
As per bisect information provided in comment# 2, assigning it to respective Dev.

Change Log: https://chromium.googlesource.com/chromium/src/+/d42a4b6fc73f5de8851ee0ee6f64876a5e3efb03
Change-Id: I85fa493b345bb6ab955316fe1725e4794ed4c99b
Reviewed-on: https://chromium-review.googlesource.com/c/1265900

@Chase Phillips: Please confirm the issue and help in re-assigning if it is not related to your change.

Thanks!
Cc: dmu...@chromium.org pwnall@chromium.org
Hi all, I plan to look into this today and will respond by tomorrow AM with an update.
Components: -Platform>Extensions
Labels: OS-Android OS-Chrome OS-Fuchsia OS-Linux OS-Mac
This is unrelated to extensions. It's a bug in IndexedDB. Standalone reproduction steps:

1) Download the attached file and serve it via http. I use http-server from npm, which serves on localhost:8080. If using something else, update the http:// URLs below.

2) Run Chrome Stable on a new profile. On macOS, I use the following.
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
    --user-data-dir=~/idb-bug-test http://localhost:8080/crbug899446.html

3) Click "Add items". Below should read "Done adding items"
4) Click "Read items". Below should read "Done reading 15 items"

5) Run Chrome Canary on the same profile. On macOS, I use the following.
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary \
    --user-data-dir=~/idb-bug-test http://localhost:8080/crbug899446.html
Attaching the file mentioned in Comment 6.
crbug899446.html
13.4 KB View Download
Project Member

Comment 8 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/236db7092f734f4323be60a94f553a9b0102da1b

commit 236db7092f734f4323be60a94f553a9b0102da1b
Author: Chase Phillips <cmp@chromium.org>
Date: Tue Oct 30 02:59:40 2018

Revert "IndexedDB: Move content/renderer/indexed_db/ to Blink"

This reverts commit d42a4b6fc73f5de8851ee0ee6f64876a5e3efb03.

Reason for revert:
The "content/renderer/indexed_db move to Blink" change originally
landed as commit d42a4b6fc73f5de8851ee0ee6f64876a5e3efb03.

We received a confirmed report in  https://crbug.com/899446  that
in one instance an IndexedDB database had its values replaced with
incorrect values which bisect showed was caused by that change.

We also found a possibly-related issue due to persistence when using
Gmail with offline-enabled.

This change reverts commit d42a4b6fc so the pre-move functionality
is restored while we investigate the cause and come up with a fix.

This also reverts commit a5b50bfe that removed a using declaration.

Original change's description:
> IndexedDB: Move content/renderer/indexed_db/ to Blink
>
> Also in this CL:
> - Add a :mojom_modules target to allow mojom files in this group
>   to link against symbols that only exist in the modules layer.
> - Rename indexed*db_struct_traits* to _mojom_traits*.
>
> Bug: 717812
> Change-Id: I85fa493b345bb6ab955316fe1725e4794ed4c99b
> Reviewed-on: https://chromium-review.googlesource.com/c/1265900
> Commit-Queue: Chase Phillips <cmp@chromium.org>
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
> Reviewed-by: Kentaro Hara <haraken@chromium.org>
> Reviewed-by: Joshua Bell <jsbell@chromium.org>
> Reviewed-by: Daniel Murphy <dmurph@chromium.org>
> Reviewed-by: Victor Costan <pwnall@chromium.org>
> Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
> Reviewed-by: Reilly Grant <reillyg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#602911}

TBR=cmp@chromium.org,dcheng@chromium.org,jsbell@chromium.org,kinuko@chromium.org,dmurph@chromium.org,mek@chromium.org,reillyg@chromium.org,clamy@chromium.org,haraken@chromium.org,pwnall@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 717812
Bug:  899446 
Change-Id: I89ba3b64e3b14158d520ed513355b2ac07a09ad4
Reviewed-on: https://chromium-review.googlesource.com/c/1305243
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Chase Phillips <cmp@chromium.org>
Commit-Queue: Chase Phillips <cmp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603749}
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/BUILD.gn
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/OWNERS
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_callbacks_impl.cc
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_callbacks_impl.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_database_callbacks_impl.cc
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_database_callbacks_impl.h
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_dispatcher.cc
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_dispatcher.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_key_builders.cc
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/indexed_db_key_builders.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/mock_webidbcallbacks.cc
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/mock_webidbcallbacks.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbcursor_impl.cc
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbcursor_impl.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbcursor_impl_unittest.cc
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbdatabase_impl.cc
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbdatabase_impl.h
[add] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbdatabase_impl_unittest.cc
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbfactory_impl.cc
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/indexed_db/webidbfactory_impl.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/render_thread_impl.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/render_thread_impl.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/renderer_blink_platform_impl.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/renderer/renderer_blink_platform_impl.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/test/BUILD.gn
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/test/data/indexeddb/cursor_prefetch.js
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/test/test_blink_web_unit_test_support.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/content/test/test_blink_web_unit_test_support.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/common/BUILD.gn
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/common/indexeddb/OWNERS
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/common/indexeddb/indexeddb_key.cc
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/common/indexeddb/indexeddb_struct_traits.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/BUILD.gn
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/common/BUILD.gn
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/common/indexeddb/OWNERS
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/common/indexeddb/indexeddb.typemap
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/common/indexeddb/indexeddb_struct_traits.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/mojom/BUILD.gn
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/public/platform/modules/indexeddb/indexed_db_key_builder.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/platform/modules/indexeddb/web_idb_cursor.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/platform/modules/indexeddb/web_idb_database.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/platform/modules/indexeddb/web_idb_database_callbacks.h
[rename] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/platform/modules/indexeddb/web_idb_factory.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/platform/modules/indexeddb/web_idb_key.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/public/platform/platform.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/BUILD.gn
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/exported/BUILD.gn
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/exported/web_idb_key.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/BUILD.gn
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/OWNERS
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_cursor.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_cursor.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_cursor_with_value.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_database.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_database.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_factory.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_factory.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_index.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_key.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_key.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_object_store.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_object_store.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_open_db_request.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_request.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_request_queue_item.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/idb_transaction.h
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db.typemap
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db_callbacks_impl.cc
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db_callbacks_impl.h
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db_database_callbacks_impl.h
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db_dispatcher.cc
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db_dispatcher.h
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db_mojom_traits.cc
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/indexed_db_mojom_traits.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/inspector_indexed_db_agent.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/mock_web_idb_database.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/mock_web_idb_factory.h
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/modules/indexeddb/web_idb_callbacks_impl.cc
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/web_idb_cursor_impl.h
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/web_idb_database_impl.cc
[delete] https://crrev.com/57cea39f336a9465aafdec373867b9c36de9394c/third_party/blink/renderer/modules/indexeddb/web_idb_database_impl_unittest.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/platform/mojo/blink_typemaps.gni
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/platform/testing/testing_platform_support.cc
[modify] https://crrev.com/236db7092f734f4323be60a94f553a9b0102da1b/third_party/blink/renderer/platform/testing/testing_platform_support.h

Cc: c...@chromium.org
 Issue 899551  has been merged into this issue.
The bisected change is reverted in the tree.  The revert should show up in either the next nightly or the one after that.

Thanks for the test cases, all!  Victor, I was able to reproduce using your test case.  That was very helpful.  I also verified that modifying your test case slightly to turn off auto_increment and inspect via DevTools I got an error very similar to the reported case in comment 0 (all values show null).  That makes me think the problem isn't strictly related to the auto-increment feature.

Initial tests suggest that the good DBs aren't overwritten by Chrome on disk, as well.  Chrome would definitely read bad data making it seem like the DBs were bad, though.  Apps that write back to disk then cause values to be written in a form that's incompatible with stable/beta.  FWIW I couldn't 100% verify the latter due to Chrome's profile version checking.

The investigation is on-going, so I'll leave this bug open and assigned for now.
Summary: IndexedDB data read from / written to recent Chrome Canaries is incompatible with Chrome stable/beta (was: Last canary update deletes all user styles for stylus extension)
I've tracked the issue locally down to a difference in how binary data held in a string is handled by Blink after my change.

The revert landed on 10/29 and new canaries should have been built with that change yesterday and today.

Tomorrow, I'll verify that the latest canary doesn't have the reported issue when run against an IDB instance created by Chrome stable.  Assuming that works, I'll mark this fixed at that time.
Update to 72.0.3597.0 has deleted all styles again. Is this intended as a side-effect of the fix?
If you recreated the styles in the broken Canary, it made the data incompatible with the fixed version, so I guess you'll have to recreate them again or restore a backup of the old pre-buggy database.
Thank you.
Will check with my backup...
Labels: Needs-Feedback
I verified the following cases on Linux:

A. Verify a snapshot @ 603628 with the commit cannot read a stable IndexedDB instance
Remove test profile, run stable 70.0.3538.77, load comment 7 attachment, click Add, click Read
Run snapshot @ 603628 (from 10/29), load comment 7 attachment, click Read
-> Exception, expected

B. Verify a snapshot @ 604712 after reverting the commit can read a stable IndexedDB instance
Remove test profile, run stable 70.0.3538.77, load comment 7 attachment, click Add, click Read
Launch snapshot @ 604712, load comment 7 attachment, click Read
-> No exception, works as intended, expected

C. Verify a snapshot @ 604712 after reverting the commit cannot read an IndexedDB instance with the commit
Remove test profile, run snapshot @ 603628 (from 10/29), load comment 7 attachment, click Add, click Read
Launch snapshot @ 604712, load comment 7 attachment, click Read
-> Exception, expected

I'd appreciate any cycles contributors can offer to help verify this is fixed in canary/snapshots.  If you have time, can you please:

1. Use stable with a fresh profile (use the chrome --user-data-dir command-line argument to specify a new profile directory), load a web app that creates an IndexedDB instance and writes to it, and verify that works as expected.

2. Use a recent canary or snapshot with that profile, load that web app, and verify that works as expected.

Please report back if you notice any issues or if this appears to be working as intended now.  Thanks in advance!

(note for myself, the commit landed at 602911 and was reverted at 603749)
I came here from  issue 900840  which reports Gmail fails to load on Dev.

r602911 is 72.0.3592.0
r603749 is 72.0.3597.0

It looks like this made it to dev channel also: current dev is 72.0.3595.2
Cc: davidben@chromium.org shimazu@chromium.org
 Issue 900840  has been merged into this issue.
Labels: ReleaseBlock-Stable ReleaseBlock-Beta Target-72 FoundIn-72 ReleaseBlock-Dev
Hi Matt, yes, I confirm this shows up for me in Linux Chrome 72.0.3595.2-1.  Agree the first release with the fix will be 3597 or later.

Adding some process labels here to ensure TPMs are aware of this bug.
Labels: RegressedIn-72
Status: Fixed (was: Assigned)
Marking fixed per discussion with Krishna since the bug is already fixed in 72.0.3597.0.

She said no merge is needed to M72 as the fix will be automatically picked up by next week's M72 dev release (possibly on Tuesday).
I'm running 72.0.3603.0 (Official Build) canary (64-bit) (cohort: Clang-64) and can't get GMail to load. Do I need to delete some local file so that it doesn't load a corrupt DB?
Ah, clearing site data for mail.google.com did it.
Project Member

Comment 25 by bugdroid1@chromium.org, Nov 7

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/884a9b662680278cc4c75e792fd038f155e3cce2

commit 884a9b662680278cc4c75e792fd038f155e3cce2
Author: Chase Phillips <cmp@chromium.org>
Date: Wed Nov 07 01:09:29 2018

IndexedDB: Add stable DB compatibility tests

Verify that the current version of IndexedDB can read an IndexedDB
instance created by a previous version of Chrome stable.

These DBs were created with Chrome stable version 70.0.3538.77
(Official Build) (64-bit) on Linux.  The webapp used to create the
instances was provided in  https://crbug.com/899446  by Victor Costan
<pwnall@chromium.org>.  The noai version is modified from that case
to disable autoincrement.

Bug: 717812
Bug:  899446 
Change-Id: I0b293f68cde4d637c53faaabd52b3b27a0ac147c
Reviewed-on: https://chromium-review.googlesource.com/c/1320693
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Chase Phillips <cmp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605908}
[modify] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/browser/indexed_db/indexed_db_browsertest.cc
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446.html
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446.js
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446/file__0.indexeddb.leveldb/000003.log
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446/file__0.indexeddb.leveldb/CURRENT
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446/file__0.indexeddb.leveldb/LOCK
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446/file__0.indexeddb.leveldb/LOG
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446/file__0.indexeddb.leveldb/MANIFEST-000001
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446_noai.html
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446_noai/file__0.indexeddb.leveldb/000003.log
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446_noai/file__0.indexeddb.leveldb/CURRENT
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446_noai/file__0.indexeddb.leveldb/LOCK
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446_noai/file__0.indexeddb.leveldb/LOG
[add] https://crrev.com/884a9b662680278cc4c75e792fd038f155e3cce2/content/test/data/indexeddb/crbug899446_noai/file__0.indexeddb.leveldb/MANIFEST-000001

Sign in to add a comment