Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / websql / empty-statement.html
blob77897b5dee32e7bcb1ee9347c4e58d4209f0ddab
1 <html>
3 <head>
4 <script>
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.testRunner)
16 testRunner.notifyDone();
19 function runTest()
21 if (window.testRunner) {
22 testRunner.dumpAsText();
23 testRunner.waitUntilDone();
25 var db = openDatabase("EmptyStatementTest", "1.0", "Database for an empty statement test", 1);
26 db.transaction(executeEmptyStatement);
29 </script>
30 </head>
32 <body onload="runTest()">
33 <pre id="console"></pre>
34 </body>
36 </html>