Trying to run this in a default XAMPP installation under Windows XP using Firefox 7.0.1.
Those codes:
var worker = new Worker("c:/xampp/htdocs/js/worker.js"); var worker = new Worker("c:/127.0.0.1/js/worker.js"); var worker = new Worker("c:/192.168.1.2/js/worker.js"); var worker = new Worker("worker.js"); Generates those errors:
Failed to load script: c:/xampp/htdocs/js/worker.js (nsresult = 0x805e0006) Failed to load script: c:/127.0.0.1/js/worker.js (nsresult = 0x805303f4) Failed to load script: c:/192.168.1.2/js/worker.js (nsresult = 0x805303f4) Script file not found: worker.js Maybe related: had problems with this router, for instance, I can't access my site using http://www.mydomain.com/, I have to access it using http://192.168.1.2/ .