| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <title>IDBObjectStore.deleteIndex() - removes the index </title> | 3 <title>IDBObjectStore.deleteIndex() - removes the index </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, |
| 11 t = async_test(), | 11 t = async_test(), |
| 12 key = 1, | 12 key = 1, |
| 13 record = { property: "data" }; | 13 record = { property: "data" }; |
| 14 | 14 |
| 15 var open_rq = createdb(t); | 15 var open_rq = createdb(t); |
| 16 open_rq.onupgradeneeded = function(e) { | 16 open_rq.onupgradeneeded = function(e) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 assert_throws('NotFoundError', | 35 assert_throws('NotFoundError', |
| 36 function() { index = objStore.index("index") }); | 36 function() { index = objStore.index("index") }); |
| 37 assert_equals(index, undefined); | 37 assert_equals(index, undefined); |
| 38 t.done(); | 38 t.done(); |
| 39 } | 39 } |
| 40 } | 40 } |
| 41 </script> | 41 </script> |
| 42 | 42 |
| 43 <div id="log"></div> | 43 <div id="log"></div> |
| OLD | NEW |