You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jose Caballero (JIRA)" <ji...@apache.org> on 2014/01/14 09:18:50 UTC

[jira] [Updated] (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:all-tabpanel ]

Jose Caballero updated CB-5788:
-------------------------------

    Summary: SECURITY_ERR:DOM Exception 18 opening Database websql  (was: SECURITY_ERR:DOM Exception 18 opening Database )

> 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.
>            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"



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)