Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the extra check on location #304

Merged
merged 1 commit into from
Apr 24, 2016
Merged

Remove the extra check on location #304

merged 1 commit into from
Apr 24, 2016

Conversation

casr
Copy link
Contributor

@casr casr commented Jul 14, 2015

I noticed that, at least on Chrome, that the comparison location.host === parent.location.host causes a security exception and crashes horribly. The problem is that parent.location.host is not a query-able property when the iframe and parent have a different document.domain.

Perhaps this is an extra check that isn’t really required anyway?

@Robdel12 Robdel12 added this to the v2.1.8 milestone Apr 19, 2016
@Robdel12 Robdel12 merged commit b1a7f27 into Robdel12:master Apr 24, 2016
@Robdel12
Copy link
Owner

Hey @casr thanks for the PR! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants