Which javascript objects are access by the web worker ?

 Posted by Rajkatie on 1/30/2013 | Category: HTML 5 Interview questions | Views: 1860 | Points: 40
Answer:

Due to their multi-threaded behavior, web workers only has access to a following few of JavaScript's features:


1. The navigator object
2.XMLHttpRequest
3. setTimeout() and clearTimeout()
4. setInterval()/clearInterval()
5. The Application Cache
6.the importScripts() method


Source: html5rocks.com | | Alert Moderator 

Comments or Responses

Login to post response