| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>IDBObjectStore.delete() - removes all of the records in the range</title> | 2 <title>IDBObjectStore.delete() - removes all of the records in the range</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 <script> | 7 <script> |
| 8 var db | 8 var db |
| 9 var open_rq = createdb(async_test()) | 9 var open_rq = createdb(async_test()) |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 os.delete( IDBKeyRange.bound(3, 6) ) | 23 os.delete( IDBKeyRange.bound(3, 6) ) |
| 24 os.count().onsuccess = this.step_func(function(e) | 24 os.count().onsuccess = this.step_func(function(e) |
| 25 { | 25 { |
| 26 assert_equals(e.target.result, 6, "Count after deleting 3-6 from 10"
); | 26 assert_equals(e.target.result, 6, "Count after deleting 3-6 from 10"
); |
| 27 this.done(); | 27 this.done(); |
| 28 }) | 28 }) |
| 29 } | 29 } |
| 30 </script> | 30 </script> |
| 31 | 31 |
| 32 <div id=log></div> | 32 <div id=log></div> |
| OLD | NEW |