2 <title>IDBDatabase.createObjectStore() - returns an instance of IDBObjectStore
</title>
3 <link rel=
"author" title=
"Microsoft" href=
"http://www.microsoft.com">
4 <script src=/resources/testharness.js
></script>
5 <script src=/resources/testharnessreport.js
></script>
6 <script src=resources/support.js
></script>
13 open_rq
.onupgradeneeded = function(e
) {
14 var db
= e
.target
.result
15 var objStore
= db
.createObjectStore('instancetest')
17 assert_true(objStore
instanceof IDBObjectStore
, 'instanceof IDBObjectStore')
20 open_rq
.onsuccess = function(e
) {
21 var db
= e
.target
.result
22 var objStore
= db
.transaction('instancetest', 'readonly', {durability
: 'relaxed'}).objectStore('instancetest')
24 assert_true(objStore
instanceof IDBObjectStore
, 'instanceof IDBObjectStore')