[jbosstools-issues] [JBoss JIRA] (JBIDE-13813) BrowserSim: need Web SQL API support

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Mon Apr 22 15:05:53 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-13813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yahor Radtsevich updated JBIDE-13813:
-------------------------------------

    Description: 
Cordova's Storage API is based on Web SQL API. This API is widely used in Cordova-based applications.
Web SQL API is also used on some mobile web sites, so it would be good to have it not only in CordovaSim, but also in BrowserSim.

The problem is that Safari's Web SQL API is not available in SWT Browser on Windows. A way to provide this API is needed.

*Update:*
We [implemented|https://github.com/yradtsevich/pure-js-websql] Web SQL API in pure JavaScript. This implementation is based on [SQL.js|https://github.com/kripken/sql.js]. Demo is [here|http://htmlpreview.github.com/?https://github.com/yradtsevich/pure-js-websql/blob/master/test/index.html].

*Update2:*
Now this script is automatically injected in BrowserSim when Web SQL API is needed.

  was:
Cordova's Storage API is based on Web SQL API. This API is widely used in Cordova-based applications.

The problem is that Safari's Web SQL API is not available in SWT Browser on Windows. A way to provide this API is needed.

*Update:*
We created [implemented|https://github.com/yradtsevich/pure-js-websql] Web SQL API in pure JavaScript. This implementation is based on [SQL.js|https://github.com/kripken/sql.js]. Demo is [here|http://htmlpreview.github.com/?https://github.com/yradtsevich/pure-js-websql/blob/master/test/index.html].

BrowserSim branch with Web SQL support is [here|https://github.com/yradtsevich/jbosstools-vpe/tree/web-sql].


    
> BrowserSim: need Web SQL API support
> ------------------------------------
>
>                 Key: JBIDE-13813
>                 URL: https://issues.jboss.org/browse/JBIDE-13813
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: browsersim
>            Reporter: Yahor Radtsevich
>            Assignee: Yahor Radtsevich
>             Fix For: 4.1.0.Beta1
>
>
> Cordova's Storage API is based on Web SQL API. This API is widely used in Cordova-based applications.
> Web SQL API is also used on some mobile web sites, so it would be good to have it not only in CordovaSim, but also in BrowserSim.
> The problem is that Safari's Web SQL API is not available in SWT Browser on Windows. A way to provide this API is needed.
> *Update:*
> We [implemented|https://github.com/yradtsevich/pure-js-websql] Web SQL API in pure JavaScript. This implementation is based on [SQL.js|https://github.com/kripken/sql.js]. Demo is [here|http://htmlpreview.github.com/?https://github.com/yradtsevich/pure-js-websql/blob/master/test/index.html].
> *Update2:*
> Now this script is automatically injected in BrowserSim when Web SQL API is needed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list