-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 visibilityState tests #9789
Fix visibilityState tests #9789
Conversation
Looks like they're still broken? https://travis-ci.org/ampproject/amphtml/jobs/240618920 |
|
||
/** @const {string} */ | ||
this.hash = spec.hash || ''; | ||
delete spec.hash; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jridgewell any reason why we keep the hash this way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To prevent it from getting into the query string.
Fixes #9757.