OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
3 <title>IDBObjectStore.createIndex() - returns an IDBIndex and the properties are
set correctly</title> | 3 <title>IDBObjectStore.createIndex() - returns an IDBIndex and the properties are
set correctly</title> |
4 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> | 4 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> |
5 <script src="../../../resources/testharness.js"></script> | 5 <script src="../../../resources/testharness.js"></script> |
6 <script src="../../../resources/testharnessreport.js"></script> | 6 <script src="../../../resources/testharnessreport.js"></script> |
7 <script src="support.js"></script> | 7 <script src="support.js"></script> |
8 | 8 |
9 <script> | 9 <script> |
10 var db, | 10 var db, |
(...skipping 10 matching lines...) Expand all Loading... |
21 assert_equals(index.objectStore, objStore, "objectStore"); | 21 assert_equals(index.objectStore, objStore, "objectStore"); |
22 assert_equals(index.keyPath, "indexedProperty", "keyPath"); | 22 assert_equals(index.keyPath, "indexedProperty", "keyPath"); |
23 assert_true(index.unique, "unique"); | 23 assert_true(index.unique, "unique"); |
24 assert_false(index.multiEntry, "multiEntry"); | 24 assert_false(index.multiEntry, "multiEntry"); |
25 | 25 |
26 t.done(); | 26 t.done(); |
27 }; | 27 }; |
28 </script> | 28 </script> |
29 | 29 |
30 <div id="log"></div> | 30 <div id="log"></div> |
OLD | NEW |