You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/01/17 01:07:19 UTC
[jira] [Commented] (CB-5788) SECURITY_ERR:DOM Exception 18 opening
Database websql
[ https://issues.apache.org/jira/browse/CB-5788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874186#comment-13874186 ]
Joe Bowser commented on CB-5788:
--------------------------------
Are you installing the storage plugin?
> SECURITY_ERR:DOM Exception 18 opening Database websql
> -----------------------------------------------------
>
> Key: CB-5788
> URL: https://issues.apache.org/jira/browse/CB-5788
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.3.0
> Environment: Only some Android mobiles. Samsung S3 Mini Android 4.1.3, Samsung Note II Android4.1.9, Huawei Y900 Android 4.1.1.
> Tablet Silken i-joy Android 4.1.1
> Reporter: Jose Caballero
> Labels: SECURITY_ERR, openDatabase
>
> I try
> function BDConnect()
> {
> d = new $.Deferred();
> try{
> if (!window.openDatabase) {
> alert('BD not supported');
> } else {
> var shortName = 'iDB';
> var version = '';
> var displayName = "iDB";
> var maxSize = 1024; // in bytes
> baseDeDatos = openDatabase(shortName, version, displayName, maxSize);
> }
> }catch(err)
> {
> alert("Error al abrir la base de datos CODE:"+err);
> d.resolve();
> return d.promise();
> }
> return d.promise();
> }
> And in some android mobile throw "SECURITY_ERR:DOM Exception 18"
> Samsung S3 Mini Android 4.1.3, Samsung Note II Android4.1.9, Huawei Y900 Android 4.1.1.
> Tablet Silken i-joy Android 4.1.1
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)