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

Ensure metadata is sent even if document is already fully loaded #119

Merged
merged 2 commits into from
Dec 7, 2020

Conversation

rekmarks
Copy link
Member

@rekmarks rekmarks commented Dec 4, 2020

The metadata sending functionality assumed synchronous injection, which we shouldn't. This PR ensures metadata is sent event if the page is already fully loaded when the constructor runs.

Copy link

@brad-decker brad-decker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rekmarks rekmarks merged commit 625f6fa into main Dec 7, 2020
@rekmarks rekmarks deleted the fix-metadata-sending-on-complete-readyState branch December 7, 2020 21:26
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