OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IDBDatabase.createObjectStore() - object store 'name' and 'keyPath' prope
rties are correctly set </title> | 2 <title>IDBDatabase.createObjectStore() - object store 'name' and 'keyPath' prope
rties are correctly set </title> |
3 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> | 3 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> |
4 <script src="../../../resources/testharness.js"></script> | 4 <script src="../../../resources/testharness.js"></script> |
5 <script src="../../../resources/testharnessreport.js"></script> | 5 <script src="../../../resources/testharnessreport.js"></script> |
6 <script src="support.js"></script> | 6 <script src="support.js"></script> |
7 | 7 |
8 <script> | 8 <script> |
9 | 9 |
10 var t = async_test(), | 10 var t = async_test(), |
(...skipping 13 matching lines...) Expand all Loading... |
24 var objStore = db.transaction('prop').objectStore('prop') | 24 var objStore = db.transaction('prop').objectStore('prop') |
25 | 25 |
26 assert_equals(objStore.name, "prop", "object store name") | 26 assert_equals(objStore.name, "prop", "object store name") |
27 assert_equals(objStore.keyPath, "mykeypath", "key path") | 27 assert_equals(objStore.keyPath, "mykeypath", "key path") |
28 assert_equals(objStore.autoIncrement, false, "auto increment") | 28 assert_equals(objStore.autoIncrement, false, "auto increment") |
29 t.done() | 29 t.done() |
30 } | 30 } |
31 </script> | 31 </script> |
32 | 32 |
33 <div id="log"></div> | 33 <div id="log"></div> |
OLD | NEW |