postMessage:
Allowed generally
XMLHTTPRequest:
Same-origin policy: Allowed
Cross-origin: May make request, but cannot read (unless CORS flag set)
Image request:
Allowed generally
Isolate content from different origins
Libraries:
Works in Same-Origin, could have trojan horse
Same origin policy limitations:
Coarse, inflexible
Does not restrict actions within execution context
Does not prevent information leaks
Send data in image request
Cross-origin scripts act the same
sandbox
has unique originsandbox allow-scripts
allows JavaScript