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

Unified Diff: content/test/data/indexeddb/quota_test.js

Issue 12035081: IndexedDB: Specify reason when aborting due to quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 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 | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/indexeddb/quota_test.js
diff --git a/content/test/data/indexeddb/quota_test.js b/content/test/data/indexeddb/quota_test.js
index 3196e0cd83908ffddcd82a8e3fb07fd7b4b54460..f47936fa5fe768e44270e06b403dda8617f6738f 100644
--- a/content/test/data/indexeddb/quota_test.js
+++ b/content/test/data/indexeddb/quota_test.js
@@ -88,6 +88,7 @@ function usageCallback(usage, quota) {
}
function onAbort() {
+ shouldBeEqualToString("event.target.error.name", "QuotaExceededError");
done("Transaction aborted. Data added: " + displaySize(dataAdded));
debug("There were " + successfulWrites + " successful writes");
}
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698