Hacker News new | ask | show | jobs
by bad_user 5181 days ago
postMessage is more heavyweight than CORS.

Minus a couple of restrictions (i.e. with CORS you cannot rely on cookies being set, so you need to handle that from your Javascript somehow), CORS works well and it works on all major browsers, starting with IExplorer 8, which makes it awesome.