3 <title>IDBObjectStore.index() - returns an index
</title>
4 <link rel=
"author" title=
"Microsoft" href=
"http://www.microsoft.com">
5 <script src=
"/resources/testharness.js"></script>
6 <script src=
"/resources/testharnessreport.js"></script>
7 <script src=
"resources/support.js"></script>
13 var open_rq
= createdb(t
);
14 open_rq
.onupgradeneeded = function(e
) {
17 db
.createObjectStore("store")
18 .createIndex("index", "indexedProperty");
21 open_rq
.onsuccess = function(e
) {
22 var index
= db
.transaction("store", "readonly", {durability
: 'relaxed'})
26 assert_true(index
instanceof IDBIndex
, 'instanceof IDBIndex');