Web Workers are supported in the following browsers.
■ Safari 4+
■ Chrome 5+
■ Firefox 3.5+
■ Opera 10.6+
Web Workers are currently unsupported in all versions of IE, iOS, and Android.
Testing browser support
To test if the browser supports Web Workers, use the following feature-detect for the Worker API.
var webworkers_support = !!window.Worker;
[OR]
You can test for Web Worker support by checking whether the object is undefined.
if (typeof Worker != "undefined") {
// do the jazzy stuff
}