Skip to content

Prevent race condition by enabling page events before navigation - #482

Open
dennisjlee wants to merge 1 commit into
plotly:mainfrom
dennisjlee:fix/enablePageBeforeNavigate
Open

dennisjlee wants to merge 1 commit into
plotly:mainfrom
dennisjlee:fix/enablePageBeforeNavigate

Conversation

@dennisjlee

Copy link
Copy Markdown

Fixes #481

Note on why the fix works: Page.enable enables page notifications, but doesn’t promise to replay a previous Page.loadEventFired. Chromium’s implementation enables the agent without replaying that event.

@dennisjlee
dennisjlee force-pushed the fix/enablePageBeforeNavigate branch from 7c4ef58 to 9716368 Compare October 19, 2026 19:39
@camdecoster camdecoster self-assigned this Oct 19, 2026
@camdecoster

Copy link
Copy Markdown
Contributor

I'll review this and follow up.

This branch has not been deployed

No deployments
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.

Startup can hang when Page.enable runs after navigation

2 participants