跨域与解决方案- 限制子域名不属于同源的,例如 mail.google.com 和 docs.google.com; - 限制不同端口的不属于同源,例如 google.com 和 google.com:8080