cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zam Abdul Vahid (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9974) openDatabaseSync() not working in web worker Cordova iOS 9
Date Tue, 10 Nov 2015 08:52:10 GMT
Zam Abdul Vahid created CB-9974:
-----------------------------------

             Summary: openDatabaseSync() not working in web worker Cordova iOS 9
                 Key: CB-9974
                 URL: https://issues.apache.org/jira/browse/CB-9974
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.9.0
            Reporter: Zam Abdul Vahid


Cordova cli version: 5.3.3
Cordova iOS platform version: 3.9.1
Xcode version: 7 - iOS 9

~ worker.js
var db = openDatabaseSync("MyDb", "1.0", "My Description", 50*1024*1024); 

When i try to create a database from within a web worker its throwing a js error as below.

~output
[Error] ReferenceError: Can't find variable: openDatabaseSync (worker.js, line 7)

But the same code working in iOS 8. Any help would be much appreciated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message