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 in the object stor
e </title> | 3 <title>IDBObjectStore.count() - returns the number of records in the object stor
e </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, t = async_test(); | 10 var db, t = async_test(); |
(...skipping 15 matching lines...) Expand all Loading... |
26 .count(); | 26 .count(); |
27 | 27 |
28 rq.onsuccess = t.step_func(function(e) { | 28 rq.onsuccess = t.step_func(function(e) { |
29 assert_equals(e.target.result, 10); | 29 assert_equals(e.target.result, 10); |
30 t.done(); | 30 t.done(); |
31 }); | 31 }); |
32 } | 32 } |
33 </script> | 33 </script> |
34 | 34 |
35 <div id=log></div> | 35 <div id=log></div> |
OLD | NEW |