(resending since the first one seems to have not come through)

Hi, 

I have this rather odd bug, and I'm not sure if the cause is my code or
somewhere else.

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). 



To reproduce, start

$ firefox -ProfileManager https://gamma.kaldera.no/nwn/ 
https://gamma.kaldera.no/simplexhr/app.html

and create a throwaway test profile. 

Then click the link "app-en" on the first tab to install the app. Start
the app (~/.https\;gamma.kaldera.no/webapprt-stub), and you'll get the
message "network error:0" under the big buttons. Do an

$ rm -rf ~/.https\;gamma.kaldera.no

Now open the other tab and click the "install" button. (You can start it
or not, remove it or not, doesn't matter.) 

Then go back to the first tab, click "app-en" again. _Now_ when you open
~/.https\;gamma.kaldera.no/webapprt-stub you get no network error.



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.


-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C

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

Reply via email to