[ 
https://issues.apache.org/jira/browse/RIPPLE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969609#comment-13969609
 ] 

Leos Ondra commented on RIPPLE-45:
----------------------------------

The problem is in file

(...) ripple-emulator/pkg/hosted/ripple.js

where is the support for Web SQL database (not supported in Firefox) tested at 
several places in this way

if (!openDatabase)

instead of the correct test

if (!window.openDatabase)

Sad that developers of such a great tool make errors like JS beginners..

The other problem in Firefox is on line 50: the browser doesn't know 
(deprecated) NamedNodeMap. If you change it to proprietary MozNamedAttrMap it 
works in FF, but not in other browsers.

> [Firefox]ReferenceError: openDatabase is not defined
> ----------------------------------------------------
>
>                 Key: RIPPLE-45
>                 URL: https://issues.apache.org/jira/browse/RIPPLE-45
>             Project: Apache Ripple
>          Issue Type: Bug
>         Environment: OS X: 10.9
> Ripple: 0.9.18
> Browser: Firefox 25.0
>            Reporter: lmnbeyond
>
> Since Ripple should be able to run inside any web browser, I use "ripple 
> emulate" command and open the app in Firefox, then I got "ReferenceError: 
> openDatabase is not defined" in the console window.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to