OLD | NEW |
| (Empty) |
1 <!DOCTYPE HTML> | |
2 <html> | |
3 <title>Delete transactions</title> | |
4 <script src="../head.js"></script> | |
5 <script src="../common.js"></script> | |
6 <script> | |
7 var idCounter = 0; | |
8 | |
9 function transactionCallback(tx) { | |
10 tx.executeSql('DELETE FROM Test WHERE ID = ?', [idCounter++], | |
11 function(tx, data) {}, function(tx, error) {}); | |
12 } | |
13 </script> | |
14 | |
15 <body> | |
16 <script> | |
17 runPerformanceTest({ | |
18 dbName: "DeleteTransactions", | |
19 readOnly: false, | |
20 insertRowsAtSetup: true, | |
21 transactionCallback: transactionCallback, | |
22 customRunTransactions: null | |
23 }); | |
24 </script> | |
25 </body> | |
26 </html> | |
OLD | NEW |