Threading for iframes in IE

Of the following, which don't run on the same thread as the current page in IE8 ?

  • iframe with the same domain as the current page.
  • iframe with a subdomain of the current page domain.
  • iframe with the superdomain of the current page domain.
  • an iframe with a completely different domain from the current page.

I want to know this for implementing Web Workers in IE that are in separate threads.

Edit : is there a way to have window

in another thread in IE before postMessage

before?

+2


source to share


2 answers


IE streams are not bound to the resource domain. The iframe DOM file is created and bound to the same thread as the main browser document.



+1


source


As Franzi mentioned, using an iframe will not give you a new theme. However, you can "simulate" multithreading with setTimeout and callbacks:



+2


source







All Articles