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

Unified Diff: content/browser/indexed_db/indexed_db_browsertest.cc

Issue 2855943003: Reduce the in-memory blob storgae limit on Android (Closed)
Patch Set: Fix IndexedDBBrowserTest. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/test/data/indexeddb/blobs_use_quota.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_browsertest.cc
diff --git a/content/browser/indexed_db/indexed_db_browsertest.cc b/content/browser/indexed_db/indexed_db_browsertest.cc
index f4e7668c24615722a82f6fe7c73ed192548395d6..0fd696b629096aff1f4a4a1dfac840a333325c8f 100644
--- a/content/browser/indexed_db/indexed_db_browsertest.cc
+++ b/content/browser/indexed_db/indexed_db_browsertest.cc
@@ -489,10 +489,10 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, BlobsCountAgainstQuota) {
}
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DeleteForOriginDeletesBlobs) {
- SimpleTest(GetTestUrl("indexeddb", "write_20mb_blob.html"));
+ SimpleTest(GetTestUrl("indexeddb", "write_4mb_blob.html"));
jsbell 2017/05/04 22:11:37 If you wanted to get fancy we could make this para
ssid 2017/05/05 00:34:23 hm actually changing the file name causes the test
jsbell 2017/05/05 18:53:05 huh. It looked like we used that pattern elsewhere
int64_t size = RequestDiskUsage();
// This assertion assumes that we do not compress blobs.
- EXPECT_GT(size, 20 << 20 /* 20 MB */);
+ EXPECT_GT(size, 4 << 20 /* 4 MB */);
// TODO(jsbell): Remove static_cast<> when overloads are eliminated.
GetContext()->TaskRunner()->PostTask(
FROM_HERE,
« no previous file with comments | « no previous file | content/test/data/indexeddb/blobs_use_quota.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698