What steps will reproduce the problem?
1. Create CACHE MANIFEST to include all iUI stuff
2. Config text/cache-manifest in Apache
3. Add manifest="abc.manifest" in HTML tag
4. Bookmark the address to homescreen
5. Launch the WebApp from homescreen
6. None of Ajax clicks works
7. Check the server log, no requests came to server when clicking links
8. Check XMLHTTP status, it seems to be disppeared after readystate=1
9. Remove manifest="abc.manifest" from HTML tag, everything works fine
I am not going to provide a real offline app, I am just thinking of using
cache to quickly launch app instead of downloading all iUI stuff every
time users launch the app from homescreen.
I visited few websites and offline demos, just wondering how they work.
like this one:
http://code.msgilligan.com/2009/09/iui-sample-webapp-using-html-5-
offline.html
From my knowledge, Ajax seems to prevent the cross-doamin access
naturally, when it starts from cache, is it treated as accessing from
localhost to remote address?
Here is my demo:
http://i.sh2sg.com/v3.html
Cache manifest
http://i.sh2sg.com/movie.manifest
I appreciate any suggestion.
Thanks.
Original issue reported on code.google.com by kelvin...@gmail.com on 31 Oct 2009 at 4:23
Original issue reported on code.google.com by
kelvin...@gmail.com
on 31 Oct 2009 at 4:23