| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>IDBTransaction</title> | 2 <title>IDBTransaction</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 var db, | 9 var db, |
| 10 t = async_test(document.title + " - request gotten by the handler"), | 10 t = async_test(document.title + " - request gotten by the handler"), |
| 11 open_t = async_test(document.title + " - request returned by open()"), | 11 open_t = async_test(document.title + " - request returned by open()"), |
| 12 | 12 |
| 13 open_rq = indexedDB.open("idbtransaction-" + new Date().getTime() + Math.ran
dom()); | 13 open_rq = indexedDB.open("idbtransaction-" + new Date().getTime() + Math.ran
dom()); |
| 14 | 14 |
| 15 open_t.step(function() { | 15 open_t.step(function() { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 37 return function() { | 37 return function() { |
| 38 t.step(function() { assert_unreached(name); }); | 38 t.step(function() { assert_unreached(name); }); |
| 39 open_t.step(function() { assert_unreached(name); }); | 39 open_t.step(function() { assert_unreached(name); }); |
| 40 }; | 40 }; |
| 41 } | 41 } |
| 42 open_rq.onblocked = fail_helper('open_rq.onblocked'); | 42 open_rq.onblocked = fail_helper('open_rq.onblocked'); |
| 43 open_rq.onerror = fail_helper('open_rq.onerror'); | 43 open_rq.onerror = fail_helper('open_rq.onerror'); |
| 44 </script> | 44 </script> |
| 45 | 45 |
| 46 <div id="log"></div> | 46 <div id="log"></div> |
| OLD | NEW |