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(chromium): lifecycle events race #4369

Merged
merged 1 commit into from
Nov 6, 2020
Merged

fix(chromium): lifecycle events race #4369

merged 1 commit into from
Nov 6, 2020

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Nov 6, 2020

No description provided.

let isInitialEmptyPage = false;
helper.addEventListener(this._client, 'Page.lifecycleEvent', event => {
// We collect initial lifecycle events, and then dispatch regularly, after
// we get response fro Page.setLifecycleEventsEnabled.
Copy link
Member

Choose a reason for hiding this comment

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

They will come out of order though?

@pavelfeldman pavelfeldman merged commit 3db8b23 into microsoft:master Nov 6, 2020
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.

2 participants