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

fix(mock-doc): set hostname when location is updated #2689

Merged
merged 2 commits into from
Oct 14, 2020

Conversation

cam-narzt
Copy link
Contributor

The hostname was not updated when a new href is set on the window location, it looks like this was an oversight, this commit makes it so the hostname is populated like everything else.

chore(test): add test for MockLocation behaviour

Closes #2688

cam-narzt and others added 2 commits October 1, 2020 18:00
The hostname was not updated when a new href is set on the window location, it looks like this was an oversight, this commit makes it so the hostname is populated like everything else.
@adamdbradley adamdbradley merged commit 9598a05 into ionic-team:master Oct 14, 2020
@adamdbradley
Copy link
Contributor

great fix, thanks!

@cam-narzt cam-narzt deleted the patch-1 branch October 15, 2020 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

window.location.hostname not populated when window.location.href set.
2 participants