| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>IDBIndex.count() - returns the number of records that have keys within th
e range </title> | 3 <title>IDBIndex.count() - returns the number of records that have keys within th
e range </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 17 matching lines...) Expand all Loading... |
| 28 .count(IDBKeyRange.bound('data0', 'data4')); | 28 .count(IDBKeyRange.bound('data0', 'data4')); |
| 29 | 29 |
| 30 rq.onsuccess = t.step_func(function(e) { | 30 rq.onsuccess = t.step_func(function(e) { |
| 31 assert_equals(e.target.result, 5); | 31 assert_equals(e.target.result, 5); |
| 32 t.done(); | 32 t.done(); |
| 33 }); | 33 }); |
| 34 } | 34 } |
| 35 </script> | 35 </script> |
| 36 | 36 |
| 37 <div id=log></div> | 37 <div id=log></div> |
| OLD | NEW |