6 function writeMessageToLog(message)
8 document.getElementById("console").innerText += message + "\n";
11 function executeEmptyStatement(transaction)
13 transaction.executeSql("");
14 writeMessageToLog("Executed an empty statement. If you didn't see a crash or assertion, the test passed.");
15 if (window.layoutTestController)
16 layoutTestController.notifyDone();
21 if (window.layoutTestController) {
22 layoutTestController.dumpAsText();
23 layoutTestController.waitUntilDone();
25 var db = openDatabase("EmptyStatementTest", "1.0", "Database for an empty statement test", 1);
26 db.transaction(executeEmptyStatement);
32 <body onload="runTest()">
33 <pre id="console"></pre>