You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2022/06/12 15:28:00 UTC

[jira] [Closed] (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 ]

jcesarmobile closed CB-5788.
----------------------------
    Resolution: Won't Fix

Closing since it's a deprecated API and the mentioned devices and android versions are unsupported by latest cordova-android

> 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: cordova-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
>            Priority: Minor
>              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
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org