3 function checkCompletion()
5 if (++complete == 2 && window.testRunner)
6 testRunner.notifyDone();
11 var db = openDatabaseWithSuffix("MultipleTransactionsTest", "1.0", "Test to make sure multiple transactions can be queued at once for an HTML5 database", 32768);
13 db.transaction(function(tx) {
14 log("Transaction 1 Started");
16 log("Transaction 1 Errored - " + err);
19 log("Transaction 1 Succeeded");
23 db.transaction(function(tx) {
24 log("Transaction 2 Started");
26 log("Transaction 2 Errored - " + err);
29 log("Transaction 2 Succeeded");