Index: content/browser/in_process_webkit/indexed_db_browsertest.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_browsertest.cc b/content/browser/in_process_webkit/indexed_db_browsertest.cc |
index 3c0a2f93dedf0f04fefaeb5aa392ccf94466a49b..83b3d048759cae46fe70bea97c5c44b4fe8591df 100644 |
--- a/content/browser/in_process_webkit/indexed_db_browsertest.cc |
+++ b/content/browser/in_process_webkit/indexed_db_browsertest.cc |
@@ -288,6 +288,22 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithVersion123456Schema, |
EXPECT_NE(original_size, new_size); |
} |
+class IndexedDBBrowserTestWithVersion987654SSVData : public |
+ IndexedDBBrowserTestWithPreexistingLevelDB { |
+ virtual std::string EnclosingLevelDBDir() { |
+ return "ssv_version_987654"; |
+ } |
+}; |
+ |
+IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithVersion987654SSVData, |
+ DestroyTest) { |
+ int64 original_size = RequestDiskUsage(); |
+ EXPECT_GT(original_size, 0); |
+ SimpleTest(GetTestUrl("indexeddb", "open_bad_db.html")); |
+ int64 new_size = RequestDiskUsage(); |
+ EXPECT_NE(original_size, new_size); |
+} |
+ |
class IndexedDBBrowserTestWithCorruptLevelDB : public |
IndexedDBBrowserTestWithPreexistingLevelDB { |
virtual std::string EnclosingLevelDBDir() { |