summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 23:59:04 +0000
committerdgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 23:59:04 +0000
commit1f8730337a1fcc34984a7549d6c1da9dba7d3293 (patch)
treee6f1932a0711b399779b8c0d2a95f44101eea1f7 /webkit
parent34cbbdfd615450223a7123236ea9f248b57ccedb (diff)
downloadchromium_src-1f8730337a1fcc34984a7549d6c1da9dba7d3293.zip
chromium_src-1f8730337a1fcc34984a7549d6c1da9dba7d3293.tar.gz
chromium_src-1f8730337a1fcc34984a7549d6c1da9dba7d3293.tar.bz2
Fix and re-enable IndexedDBBrowserTestWithLowQuota.QuotaTest
There were two problems. 1) We had started to write into profile/IndexedDB/IndexedDB/origin.leveldb/ (note the double IndexedDB). 2) We were writing into file__0.leveldb but checking for quota in __0.leveldb. Now we always use __0.leveldb. BUG=104748 TEST= Review URL: http://codereview.chromium.org/9567030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/fileapi/file_system_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_util.cc b/webkit/fileapi/file_system_util.cc
index e0c16a5..b1b89d1 100644
--- a/webkit/fileapi/file_system_util.cc
+++ b/webkit/fileapi/file_system_util.cc
@@ -144,6 +144,7 @@ quota::StorageType FileSystemTypeToQuotaStorageType(FileSystemType type) {
// TODO(kinuko): Merge these two methods (conversion methods between
// origin url <==> identifier) with the ones in the database module.
+// http://crbug.com/116476
std::string GetOriginIdentifierFromURL(const GURL& url) {
WebKit::WebSecurityOrigin web_security_origin =
WebKit::WebSecurityOrigin::createFromString(UTF8ToUTF16(url.spec()));