| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>IDBObjectStore.count() - returns the number of records that have keys wit
h the key</title> | 3 <title>IDBObjectStore.count() - returns the number of records that have keys wit
h the key</title> |
| 4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> | 4 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> |
| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 store.count("key_").onsuccess = this.step_func(function(e) { | 23 store.count("key_").onsuccess = this.step_func(function(e) { |
| 24 assert_equals(e.target.result, 0, "count(key_)") | 24 assert_equals(e.target.result, 0, "count(key_)") |
| 25 this.done() | 25 this.done() |
| 26 }) | 26 }) |
| 27 }) | 27 }) |
| 28 } | 28 } |
| 29 | 29 |
| 30 </script> | 30 </script> |
| 31 <div id=log></div> | 31 <div id=log></div> |
| OLD | NEW |