-
Notifications
You must be signed in to change notification settings - Fork 32
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
chore: emulate frameStartedNavigating
event
#2879
chore: emulate frameStartedNavigating
event
#2879
Conversation
…enable_cdp_network_globally`
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.
I see that 'Network.requestWillBeSent' is used once in chromium-bidi? what was the race-condition that you mentioned?
WDYT if we implement it this way instead #2880 (plus network domain enablement changes )? Note that TargetEvents.FrameStartedNavigating should always fire before the network event since it is subscribed to the network event first. |
done |
There is no e2e tests though |
Page.frameStartedNavigating
eventframeStartedNavigating
event
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.
EmulatedCdpMapping is not needed anymore?
right, my bad, artefact after merging. Fixed |
(No new Puppeteer failures) |
Implementation of Alternative 3. Rely on “Network.requestWillBeSent” CDP event. Required for #2856.
Emit
frameStartedNavigating
event on CdpTarget beforeNetwork.requestWillBeSent
.