IndexedDB: Methods should throw TRANSACTION_INACTIVE_ERR when transaction is complete...
[WebKit-https.git] / LayoutTests / storage / indexeddb / constants.html
index d0e032a..a161e9e 100644 (file)
@@ -9,7 +9,7 @@
 <script>
 
 description("Test IndexedDB's constants.");
-if (window.layoutTestController) 
+if (window.layoutTestController)
     layoutTestController.waitUntilDone();
 
 function test()
@@ -20,11 +20,12 @@ function test()
     shouldBe("webkitIDBDatabaseException.CONSTRAINT_ERR", "4");
     shouldBe("webkitIDBDatabaseException.DATA_ERR", "5");
     shouldBe("webkitIDBDatabaseException.NOT_ALLOWED_ERR", "6");
-    shouldBe("webkitIDBDatabaseException.SERIAL_ERR", "7");
-    shouldBe("webkitIDBDatabaseException.RECOVERABLE_ERR", "8");
-    shouldBe("webkitIDBDatabaseException.TRANSIENT_ERR", "9");
+    shouldBe("webkitIDBDatabaseException.TRANSACTION_INACTIVE_ERR", "7");
+    shouldBe("webkitIDBDatabaseException.ABORT_ERR", "8");
+    shouldBe("webkitIDBDatabaseException.READ_ONLY_ERR", "9");
     shouldBe("webkitIDBDatabaseException.TIMEOUT_ERR", "10");
-    shouldBe("webkitIDBDatabaseException.DEADLOCK_ERR", "11");
+    shouldBe("webkitIDBDatabaseException.QUOTA_ERR", "11");
+    shouldBe("webkitIDBDatabaseException.VER_ERR", "12");
 
     shouldBe("webkitIDBRequest.LOADING", "1");
     shouldBe("webkitIDBRequest.DONE", "2");