Kevin Brubeck Unhammer <[email protected]>
writes:

> When I install my web app in Desktop Firefox (Arch Linux), it can't seem
> to do any xmlhttprequests. In fact, from what I can tell, it won't load
> anything not explicitly in the appcache file. Everything works fine in
> Firefox on Android, however, so at least my app was accepted for that
> platform …
>
> Now for the really odd thing: deleting the original app, then installing
> a simple test app from the same domain, and then reinstalling the
> original app, fixes the problem. And it stays fixed in that Firefox
> profile even if you remove the ~/.http* folder (I haven't managed to
> unfix it within one profile yet). 

[...]

I think I figured it out (after watching
https://www.youtube.com/watch?v=Oic22dQMRXQ ): my appcache needed the
lines

    NETWORK:
    *

in order to fall back to network for anything not specified in the CACHE
MANIFEST section.

> Does anyone have a clue what is wrong with my app? I'm suspecting it
> might be a bug in Firefox itself, since it works fine on Android (either
> that, or fennec has a bug), but maybe I'm missing something.

Is it a bug that "regular" Firefox and Android FF web apps (as well as
Opera, Chromium) don't care about the missing NETWORK: * lines for xhr
requests? (Shouldn't Android Firefox web apps work the same as Desktop
Firefox web apps?)

-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C

_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to