Re: [whatwg/fetch] Add WebDriver BiDi network logging with stable request IDs (PR #1860)

@juliandescottes commented on this pull request.



> @@ -2374,7 +2370,9 @@ is to return the result of <a>serializing a request origin</a> with <var>request
 
 <ol>
  <li><p>Let <var>newRequest</var> be a copy of <var>request</var>, except for its
- <a for=request>body</a>.
+ <a for=request>body</a> and <a for=request>WebDriver id</a>.
+
+ <li><p>Set <var>newRequest</var>'s <a for=request>WebDriver id</a> to a new unique string.

Not sure about Chrome, but at the moment in Firefox I think all our channel / request ids are either based on counters or timestamps - no uuid. Internally, to avoid clashes, in Firefox's BiDi implementation we prefix them with a uuid representing the process which owns the request, but that's it.

Still, I'm happy to specify this as UUID, I think it's a reasonable model, and the implementations should be able to get there.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1860#discussion_r2817957805
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1860/review/3815019499@github.com>

Received on Tuesday, 17 February 2026 16:35:31 UTC