| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>Test events opening a second database when one connection is open already
</title> | 2 <title>Test events opening a second database when one connection is open already
</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 <div id="log"></div> | 8 <div id="log"></div> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| 11 | 11 |
| 12 var db, db_got_versionchange, db2, | 12 var db, db_got_versionchange, db2, |
| 13 events = [], | 13 events = [], |
| 14 t = async_test(document.title, {timeout: 10000}); | 14 t = async_test(document.title, {timeout: 10000}); |
| 15 | 15 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 } | 92 } |
| 93 | 93 |
| 94 | 94 |
| 95 // Cleanup | 95 // Cleanup |
| 96 add_completion_callback(function(tests) { | 96 add_completion_callback(function(tests) { |
| 97 if (db2) db2.close(); | 97 if (db2) db2.close(); |
| 98 indexedDB.deleteDatabase('db'); | 98 indexedDB.deleteDatabase('db'); |
| 99 }) | 99 }) |
| 100 | 100 |
| 101 </script> | 101 </script> |
| OLD | NEW |