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

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

Issue 17033004: Tell IDB frontend about data loss (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT Created 7 years, 6 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/common/indexed_db/indexed_db_messages.h ('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/open_bad_db.js
diff --git a/content/test/data/indexeddb/open_bad_db.js b/content/test/data/indexeddb/open_bad_db.js
index 2b360be03c7d2635f3ebc64c3fd63f45da4a6381..0ab3f000fac1ef1fec7fc28dda156c14678574ca 100644
--- a/content/test/data/indexeddb/open_bad_db.js
+++ b/content/test/data/indexeddb/open_bad_db.js
@@ -11,7 +11,9 @@ function test() {
}
var gotUpgradeNeeded = false;
-function upgradeNeeded() {
+function upgradeNeeded(evt) {
+ event = evt;
+ shouldBe("event.dataLoss", "'total'");
gotUpgradeNeeded = true;
}
« no previous file with comments | « content/common/indexed_db/indexed_db_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698