Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / database-callback-deferred.html
blobcf3d03a87b170e7efc0729c84cdbd659dd491c8e
1 <html>
2 <script>
3 function test() {
4 function transactionCallback()
6 document.getElementById("result").innerHTML = "Callback was called. Test passed";
8 var db = openDatabase("DatabaseCallbackDeferred", "1.0", "", 1);
9 db.transaction(function(tx) { tx.executeSql("CREATE TABLE IF NOT EXISTS CallbackDeferredTest (randomData)", []); }, transactionCallback, transactionCallback);
11 alert("Wait for a few seconds and close it");
13 </script>
14 <body onload="test()">
15 <p id="result">Wait...</p>
16 </body>
17 </html>