I was trying to play with physi.js library (). I followed all the steps given:
https://github.com/chandlerprall/Physijs/wiki/Basic-Setup
However, I got the error:
Uncaught SecurityError: Failed to construct 'Worker': Script at 'file://172.16.159.200/js/physijs_worker.js' cannot be accessed from origin 'null'.
I tried to go deeper, and saw that the problem with the line:
this._worker = new Worker( Physijs.scripts.worker || 'physijs_worker.js' );
What did cause that issue? The browser is Google Chrome. I checked, the file "physijs_worker.js" appears in the right location.