Skip to content

Conversation

@jan-ivar
Copy link
Contributor

@jan-ivar jan-ivar commented Dec 11, 2025

Add an associated webtransport-hashes (a webtransport-hash list) to request, and wire it down to create a connection. For use by WebTransport and CSP w3c/webappsec-csp#791.

Fixes #1880.


Preview | Diff

@jan-ivar
Copy link
Contributor Author

Build appears to have stalled on infra unrelated to PR? ("Run pip install bikeshed && bikeshed update") cc @annevk

@annevk annevk force-pushed the webtransport-hashes branch from b296f9e to 6614713 Compare December 18, 2025 08:09
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

I rebased (which should address the CI issue you encountered) and pushed a commit addressing a number of nits. This looks good to me, but I have a couple of questions that might result in a couple more tweaks.

Note that I had to force push to your branch so you'll have to reset if you want to commit and push again.


<p class=note>This flag is for exclusive use by HTML's render-blocking mechanism. [[!HTML]]

<p>A <a for=/>request</a> has an associated <dfn export for=request>webtransport-hash list</dfn> (a
Copy link
Member

Choose a reason for hiding this comment

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

For this and equivalent terms, should we instead use the camelcase wording? E.g., "WebTransport-hash list"? Also, is this a list or a set because you used set/is not empty below?

"<code>no</code>"), an optional boolean
<dfn export for="obtain a connection"><var>requireUnreliable</var></dfn> (default false), and an
optional <a for=/>webtransport-hash list</a>
<dfn export for="obtain a connection"><var>webTransportHashes</var></dfn> (default « »):
Copy link
Member

Choose a reason for hiding this comment

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

Note that I made this a named parameter. I'm pretty sure that's needed as the prior parameter is named. I also fixed the default value.

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.

Support serverCertificateHashes in obtain a connection for WebTransport

2 participants