Index: content/test/data/indexeddb/corrupted_open_db_detection.html |
diff --git a/content/test/data/indexeddb/corrupted_open_db_detection.html b/content/test/data/indexeddb/corrupted_open_db_detection.html |
index 5e1b4e2b42f8187b123dc1e6678016599cd42095..9fe0aa4ab96ecd78670417b920e23a5f0a372d34 100644 |
--- a/content/test/data/indexeddb/corrupted_open_db_detection.html |
+++ b/content/test/data/indexeddb/corrupted_open_db_detection.html |
@@ -21,7 +21,7 @@ function test() { |
indexedDBTest(upgradeCallback, openCallback); |
} |
-var numObjectsWrittenToDb = 500; |
+var numObjectsWrittenToDb = 5; |
var numTransactions = 0; |
var numTransactionErrors = 0; |
var numTransactionAborts = 0; |
@@ -110,7 +110,8 @@ var tests = { |
objectStore = transaction.objectStore('storeName'); |
}, |
get: function() { |
- testXhr("/corrupt/test/corruptdb?storeName", function() { |
+ testXhr("/corrupt/test/fail?class=LevelDBTransaction&method=Get&instNum=1", |
+ function() { |
tests.testCommon('readonly'); |
request = objectStore.get('key-0'); |
request.onsuccess = unexpectedSuccessCallback; |