This is totally untrue. Layout can run off the main thread if engineered properly. Painting and compositing already do in some browsers. Layout, painting, and compositing are inherently parallel problems, so any one of these tasks can saturate all your cores if done carefully. Iframe JS can run in multiple threads if engineered right.