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

Reply via email to