When I tried to play around with Web Workers feature in HTML5, my firefox works happily but chrome complains that:
Uncaught TypeError: Cannot call met
Chrome can use worker locally without the --allow-file-access-from-files. The worker needs to be loaded as a blob.
--allow-file-access-from-files
Example:
Start
The file worker_lib2.js :
function hello(msg) { return 'Hello... ' + msg; }