If I have javascript code running which for example performs some action on a timer and this code is embedded in web pages in tab 1 and tab 2 of a web browser, then could the client code run concurrently? Or is javascript client code always run in only a single browser thread?
Alternatively, if there is a frameset with a parent and child frames, then could javascript code run concurrently in this situation?
Is there a standard specified model or is it browser dependent?
My main target environment is IE9 so would be interested to know what happens there.
EDIT I am not looking for threading support or how to do threading in javascript. I personally don't see the need. It also makes life more complicated. I just want to know if I need to worry about it, and if so on which browsers.