Salut Mathieu,

On 02/15/2013 05:49 AM, Mathieu Rochette wrote:

> I'm debugging a webapp on Firefox Desktop and I found that the request
> to open an indexedDB database never end. Neither the success or error
> handler are called and even a few minutes after the request is executed,
> request.readyState is still 'pending'.
> The same code is working well when I access the app directly in the
> browser or installed in Firefox OS and Firefox for Android.
> What can cause this behavior? I tried adding the 'storage' permission in
> the manifest but it's still the same.
> 
> You can see the app here : http://library.texthtml.net/ and install it
> here: http://library.texthtml.net/install.html the indexedDB code is in
> http://library.texthtml.net/js/web-reader.js
> 
> 
> any help would be greatly appreciated :)

Unfortunately the state of the desktop web runtime is not on par with
Firefox OS. For instance, none of the permissions from the manifest are
granted correctly. That being said, you should still be able to use
indexedDB in the webRT. Something else is broken here.

        Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to