cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-5193) WebSQL on Android fails with multiple databases
Date Thu, 24 Oct 2013 15:10:12 GMT


ASF subversion and git services commented on CB-5193:

Commit 6e4ef508e8f9f2d396515bd1d7465481d2f1285c in branch refs/heads/master from [~agrieve]
[;h=6e4ef50 ]

CB-5193 Fix Android WebSQL sometime throwing SECURITY_ERR.

Turns out our Quota logic has been wrong all along. If we were to
actually track the quota needed, we'd need to store a map of
dbName->quota for all dbNames. Instead, we just set a really high quota
since we don't ever want to decline storage.

I *think* this fixes all of the SECURITY_ERR exceptions we've been
seeing. Even those on Honeycomb / ICS.

> WebSQL on Android fails with multiple databases
> -----------------------------------------------
>                 Key: CB-5193
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Priority: Minor
> openDatabase() with two different names and the second one will fail.

This message was sent by Atlassian JIRA

View raw message