create icon indicating copy to clipboard operation
create copied to clipboard

sessionStorage not working on Firefox with Cookies disabled

Open flack opened this issue 13 years ago • 7 comments

When acessing http://createjs.org/demo/hallo/, I get the following error in Firefox:

The operation is insecure.
http://createjs.org/js/create.js
Line 108

I haven't looked at the code yet, but a quick search found this link, maybe this is a related issue:

http://stackoverflow.com/questions/10929337/firefox-13-0-cross-domain-localstorage-access-error-the-operation-is-insecure

flack avatar Jun 13 '12 10:06 flack

Can't reproduce on Firefox 13.

bergie avatar Jul 10 '12 16:07 bergie

Still happens on my end with Firefox 13.0.1 on Kubuntu. Maybe it's triggered by NoScript or something similar?

flack avatar Jul 10 '12 16:07 flack

@flack I could easily imagine NoScript causes such hassle. Can you disable the plugin and try again?

bergie avatar Jul 11 '12 08:07 bergie

Just tried again with FF 13.0.1 und Win7 with NoScript deactivated, but I get the same error message. I have a couple of other addons that I could try to deactivate, I'll try some expriments when I have the time

flack avatar Jul 11 '12 09:07 flack

I just tried again with all plugins disabled (hurray for boring meetings with internet connection!), the error still persists

flack avatar Jul 11 '12 09:07 flack

Here the output from FF error console, which has a bit more info than the one from firebug:

[11:37:30.431] uncaught exception: [Exception... "The operation is insecure."  code: "18" nsresult: "0x80530012 (SecurityError)"  location: "http://createjs.org/js/create.js Line: 108"]

flack avatar Jul 11 '12 09:07 flack

Seems the issue is with cookies. If cookies are disabled, Firefox doesn't allow sessionStorage

bergie avatar Jul 19 '12 10:07 bergie