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 test failure due to browser behavior on getting location.hash #13845

Merged
merged 1 commit into from Mar 7, 2018

Conversation

zhouyx
Copy link
Contributor

@zhouyx zhouyx commented Mar 7, 2018

I assume travis changed the testing environment, and it caused the test to fail. Because window.location.hash was encoded in new environment. I encoded the hash to fix the test failure.
Note I tried with Chrome and Firefox. Firefox won't double encode the string, and Chrome won't decode the string so the fix shouldn't be flaky.

@zhouyx zhouyx merged commit 81a16b9 into ampproject:master Mar 7, 2018
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants