| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>IDBCursor asyncness</title> | 2 <title>IDBCursor asyncness</title> |
| 3 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> | 3 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal"> |
| 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 | 7 |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 var db, open; | 10 var db, open; |
| 11 | 11 |
| 12 setup(function() { | 12 setup(function() { |
| 13 open = indexedDB.open('testdb-' + new Date().getTime()); | 13 open = indexedDB.open('testdb-' + new Date().getTime()); |
| 14 open.onupgradeneeded = function(e) { | 14 open.onupgradeneeded = function(e) { |
| 15 db = e.target.result; | 15 db = e.target.result; |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 rq.onerror = fail(this, "unexpected error") | 177 rq.onerror = fail(this, "unexpected error") |
| 178 }); | 178 }); |
| 179 | 179 |
| 180 // Stop blocking the testing system from hereon | 180 // Stop blocking the testing system from hereon |
| 181 done(); | 181 done(); |
| 182 } | 182 } |
| 183 | 183 |
| 184 </script> | 184 </script> |
| 185 | 185 |
| 186 <div id=log></div> | 186 <div id=log></div> |
| OLD | NEW |