updroid / jquery-jstore

Automatically exported from code.google.com/p/jquery-jstore
1 stars 0 forks source link

jStore does not work when used in file:// pages (not using any web server) #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. copy and paste the "getting started" HTML example into a local file
2. access this file with a file:// URL (not via a local webserver)
3. add an alert to the jQuery.jStore.flashReady function and notice it
never gets called

What is the expected output? What do you see instead?

I would have expected jStore flash engine to work in local apps (directly
accessed through the file system, not via a webserver). But it does not
work because the swf file never fires the flash_ready event.

What version of the product are you using? On what operating system?

jStore 1-2-0
Firefox 3.5.6
Linux-Ubuntu karmic koala

Please provide any additional information below.

- A comment by LukeB mentions the absence of flash_ready event for local
apps http://www.nuff-respec.com/technology/cross-browser-cookies-with-flash

- localstorage for Firefox and file:// pages does not work either (this
must be a bug at https://bugzilla.mozilla.org/show_bug.cgi?id=507361)

=> as a consequence, I can't have jStore work in file:// pages with Firefox

Original issue reported on code.google.com by jean.mil...@gmail.com on 19 Dec 2009 at 3:33

GoogleCodeExporter commented 9 years ago
I realize the title/summary of this issue is a bit misleading. I should have 
said
that the localstorage and flash engines of jstore do not work with file:// URLs 
and
firefox 3.5.x

I could indeed use jStore with file:// URLs using the gears engine.

Original comment by jean.mil...@gmail.com on 19 Dec 2009 at 11:00

GoogleCodeExporter commented 9 years ago
Unfortunately, I don't know there's a good workaround to this other than 
uploading them to localhost. Flash 
tends to not play nice on client machines. As for firefox, I believe that's 
disallowed purposefully by the browser 
as a security concern, though I could be mistaken?

So aside from putting them on a localhost server, I'm not sure what you can do.

Original comment by gars...@gmail.com on 22 Jan 2010 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by gars...@gmail.com on 22 Jan 2010 at 6:36