Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F1D2D962 for ; Thu, 22 Nov 2012 09:47:10 +0000 (UTC) Received: (qmail 60005 invoked by uid 500); 22 Nov 2012 09:47:07 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 59760 invoked by uid 500); 22 Nov 2012 09:47:03 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 59154 invoked by uid 500); 22 Nov 2012 09:47:00 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 59085 invoked by uid 99); 22 Nov 2012 09:46:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2012 09:46:58 +0000 Date: Thu, 22 Nov 2012 09:46:58 +0000 (UTC) From: "Mikhail Kadan (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <236246806.16389.1353577618989.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (CB-1930) window.openDatabase() throws exception 18 on iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mikhail Kadan created CB-1930: --------------------------------- Summary: window.openDatabase() throws exception 18 on iOS Key: CB-1930 URL: https://issues.apache.org/jira/browse/CB-1930 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.2.0, 2.0.0 Environment: iOS 5.1, iOS 6.0, iOS Simulator 6.0 Reporter: Mikhail Kadan Assignee: Shazron Abdullah 1. Initialize your rootViewController in AppDelegate with some simple UIViewController that shows e.g. "Continue" button. 2. By pressing this button MainViewController : CDVViewController is set to rootViewController and PhoneGap app works as usual. 3. PhoneGap app calls window.openDatabase(). Everything is ok for the moment. But if you add a step after 1 and before 2 - Press Home button to go to iOS home screen and then press app icon to return to app. Then step 3 will fail with "Security_ERR: DOM Exception 18". It'll be impossible to use WebSQL is this case, but window.localStorage works ok. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira