Whether http://acme.help.com and http://acme.com can be considered as same origin? Will it fall under SO restrictions?

有帮助吗?

解决方案

Yup, it will fail. In order for origins to be considered same-origin, their scheme, host and port must match. Here are some examples: http://en.wikipedia.org/wiki/Same-origin_policy#Origin_determination_rules

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top