+2015-05-08 Daniel Bates <dabates@apple.com>
+
+ [iOS] WebSQL operations are not performed after device is locked
+ https://bugs.webkit.org/show_bug.cgi?id=137503
+ <rdar://problem/20844952>
+
+ Rubber-stamped by Alexey Proskuryakov.
+
+ Add a manual test to help verify that we do not regress this issue.
+
+ * ManualTests/ios/execute-sql-transaction-callback-after-locking-unlocking-device-in-earlier-transaction.html: Added.
+
2015-05-08 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r183945.
--- /dev/null
+<!DOCTYPE html>
+<html>
+<head>
+<meta name="apple-mobile-web-app-capable" content="yes">
+<script>
+function openDatabaseAndPerformTransaction(callback)
+{
+ var database = openDatabase("alert-inside-sql-transaction-database", "1.0", "alert-inside-sql-transaction-database", 1 * 1024 * 1024 /* bytes */);
+ database.transaction(callback);
+}
+
+function runTest()
+{
+ openDatabaseAndPerformTransaction(function (sqlTransaction) { alert("Lock the device. Unlock the device and press OK."); });
+ openDatabaseAndPerformTransaction(function (sqlTransaction) { document.getElementById("result").textContent = "PASS did execute SQLTransactionCallback callback"; });
+}
+
+window.onload = runTest;
+</script>
+</head>
+<body>
+<p>This test can be used to verify that we execute a SQLTransactionCallback callback after locking an unlocking the device during an earlier
+SQLTransactionCallback callback that showed a modal dialog. You should run this test both in Safari on iOS and from a home screen web app.</p>
+<div id="result">FAIL did not execute SQLTransactionCallback callback</div>
+</body>
+</html>