OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>IDBFactory.open() - open database with a higher version than current</tit
le> | 2 <title>IDBFactory.open() - open database with a higher version than current</tit
le> |
3 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> | 3 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> |
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 open_rq = createdb(async_test(), undefined, 13); | 9 var open_rq = createdb(async_test(), undefined, 13); |
10 var did_upgrade = false; | 10 var did_upgrade = false; |
(...skipping 18 matching lines...) Expand all Loading... |
29 this.done(); | 29 this.done(); |
30 }); | 30 }); |
31 open_rq3.onupgradeneeded = fail(this, 'Unexpected upgradeneeded') | 31 open_rq3.onupgradeneeded = fail(this, 'Unexpected upgradeneeded') |
32 open_rq3.onerror = fail(this, 'Unexpected error') | 32 open_rq3.onerror = fail(this, 'Unexpected error') |
33 | 33 |
34 assert_true(did_upgrade, 'did upgrade'); | 34 assert_true(did_upgrade, 'did upgrade'); |
35 } | 35 } |
36 </script> | 36 </script> |
37 | 37 |
38 <div id=log></div> | 38 <div id=log></div> |
OLD | NEW |