Title: [184002] trunk
- Revision
- 184002
- Author
- [email protected]
- Date
- 2015-05-08 11:59:31 -0700 (Fri, 08 May 2015)
Log Message
[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.
Modified Paths
Added Paths
Diff
Modified: trunk/ChangeLog (184001 => 184002)
--- trunk/ChangeLog 2015-05-08 18:45:40 UTC (rev 184001)
+++ trunk/ChangeLog 2015-05-08 18:59:31 UTC (rev 184002)
@@ -1,3 +1,15 @@
+2015-05-08 Daniel Bates <[email protected]>
+
+ [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 <[email protected]>
Unreviewed, rolling out r183945.
Added: trunk/ManualTests/ios/execute-sql-transaction-callback-after-locking-unlocking-device-in-earlier-transaction.html (0 => 184002)
--- trunk/ManualTests/ios/execute-sql-transaction-callback-after-locking-unlocking-device-in-earlier-transaction.html (rev 0)
+++ trunk/ManualTests/ios/execute-sql-transaction-callback-after-locking-unlocking-device-in-earlier-transaction.html 2015-05-08 18:59:31 UTC (rev 184002)
@@ -0,0 +1,26 @@
+<!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>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes