diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/create-object-store-options.html')
-rw-r--r-- | LayoutTests/storage/indexeddb/create-object-store-options.html | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/LayoutTests/storage/indexeddb/create-object-store-options.html b/LayoutTests/storage/indexeddb/create-object-store-options.html index 4abb8f6..eacb09d 100644 --- a/LayoutTests/storage/indexeddb/create-object-store-options.html +++ b/LayoutTests/storage/indexeddb/create-object-store-options.html @@ -44,16 +44,8 @@ function cleaned() evalAndLog("db.createObjectStore('a', {keyPath: 'a'})"); evalAndLog("db.createObjectStore('b')"); - try { - // FIXME: This should work in the future. - debug("db.createObjectStore('c', {autoIncrement: true});"); - db.createObjectStore('c', {autoIncrement: true}); - testFailed('createObjectStore with autoIncrement = true should throw'); - } catch (err) { - testPassed("Exception thrown"); - code = err.code; - shouldBe("code", "webkitIDBDatabaseException.UNKNOWN_ERR"); - } + debug("db.createObjectStore('c', {autoIncrement: true});"); + db.createObjectStore('c', {autoIncrement: true}); trans = evalAndLog("trans = db.transaction({mode: webkitIDBTransaction.READ_WRITE})"); shouldBe("trans.mode", "webkitIDBTransaction.READ_WRITE"); |