jsantell / dancer.js

high-level audio API, designed to make sweet visualizations
jsantell.github.com/dancer.js
MIT License
2.11k stars 211 forks source link

FF, Windows, SecurityError #36

Open Doridian opened 11 years ago

Doridian commented 11 years ago

Getting the following error on every "update":

FireFox14, Windows 8 64-bit, running normal FireFox.

SecurityError: The operation is insecure. this.signal[ i ] = ( e.frameBuffer[ 2 * i ] + e.frameBuffer[ 2 * i + 1 ] ) / 2;

jsantell commented 11 years ago

Will scope this out on W7 (64bit), see if it's recreatable.. do you know if it occurs in later versions of FF as well on W8?

Doridian commented 11 years ago

I will try other FF versions in a few.

Doridian commented 11 years ago

Same bug on FF 16.0.2

jsantell commented 11 years ago

Great, will scope it out on W7 too, thanks!

ghost commented 11 years ago

Hi, I get the same error on FF 18.0.1 ubuntu 64bit.

edit: Quick update. The issue is caused by a FF's security policy: security.fileuri.strict_origin_policy It only triggers if called from the local filesystem. I solved this by going to about:config, then setting security.fileuri.strict_origin_policy to false.