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

Address notice and console error in Paired Browsing from async #4163

Merged
merged 1 commit into from
Jan 22, 2020

Conversation

kienstra
Copy link
Contributor

@kienstra kienstra commented Jan 22, 2020

Summary

In Paired Browsing, this prevents the occasional notice and console error that Weston found, using his suggested fix.

Fixes #4127

Before

Sometimes, this would appear on a refresh with a cleared cache:

TypeError: Cannot read property 'domReady' of undefined.

navigated-url-cache

After

That issue didn't occur after refreshing 20 times.

Checklist

  • My pull request is addressing an open issue (please create one otherwise).
  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

Prevent the warning from appearing,
along with the console error:
TypeError: Cannot read property 'domReady' of undefined.
@googlebot googlebot added the cla: yes Signed the Google CLA label Jan 22, 2020
@westonruter westonruter added this to the v1.5 milestone Jan 22, 2020
@kienstra
Copy link
Contributor Author

Hi Weston, it looks like you saw this already, but this is ready for review whenever you have a chance.

You're fast with seeing these 😄

@kienstra kienstra requested a review from westonruter January 22, 2020 06:55
@westonruter westonruter merged commit bede7e3 into develop Jan 22, 2020
@westonruter westonruter deleted the fix/paired-browsing-notice branch January 22, 2020 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Signed the Google CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Paired browsing sporadically fails to detect loaded AMP page
3 participants