cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1930) window.openDatabase() throws exception 18 on iOS
Date Thu, 22 Nov 2012 14:48:59 GMT

    [ https://issues.apache.org/jira/browse/CB-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502800#comment-13502800
] 

Andrew Grieve commented on CB-1930:
-----------------------------------

Thanks for the report Mikhail! Are you able to attach a .zip file of a sample project that
we could use to reproduce the problem?
                
> 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.0.0, 2.2.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

Mime
View raw message