Skip to content

Conversation

@juliandescottes
Copy link

@juliandescottes juliandescottes commented Oct 1, 2025

This PR is based on the feedback on the existing PR #1540 as well as what was discussed in w3c/webdriver-bidi#722

This introduces the concept of a stable webdriver id for requests, which is consistent across redirects, authentication attempts and CORS preflight.

This also triggers steps from the webdriver bidi specification to emit network events and trigger data collection mecanisms.


Preview | Diff

@juliandescottes juliandescottes force-pushed the jdescottes-updates-bidi-fetch-pr branch from 7594c7e to 97daba0 Compare January 6, 2026 15:56
<a for=request>response tainting</a> is "<code>cors</code>".
<a for=request>mode</a> is "<code>cors</code>",
<a for=request>response tainting</a> is "<code>cors</code>", and
<a for=request>WebDriver id</a> is <var>request</var>'s <a for=request>WebDriver id</a>.
Copy link
Author

Choose a reason for hiding this comment

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

Here I am not sure how to exactly specify that the new request should reuse the WebDriver id from the original request?

@juliandescottes juliandescottes force-pushed the jdescottes-updates-bidi-fetch-pr branch from ba23447 to 59a91b0 Compare January 7, 2026 07:21
@juliandescottes juliandescottes marked this pull request as ready for review January 7, 2026 07:22
@juliandescottes
Copy link
Author

@annevk hi! this PR is meant to take over #1540 which you initially reviewed. Could you take a look and let me know if this addresses the concerns you initially raised. Normally we clarified the expectations from WebDriver BiDi regarding the lifecycle of the request object in w3c/webdriver-bidi#722

@juliandescottes juliandescottes changed the title Call webdriver bidi hooks to clone request and response bodies Add WebDriver BiDi network logging with stable request IDs Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants