Skip to content

Conversation

@jan-ivar
Copy link
Member

@jan-ivar jan-ivar commented Nov 25, 2025

Fixes #683. Assumes an unsafe-webtransport-hashes flag on request (seems simplest post w3c/webtransport#697).

@dveditz @annevk @martinthomson WDYT?


Preview | Diff

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.

Looks reasonable overall. @antosart probably needs to review.

Copy link
Member

@antosart antosart left a comment

Choose a reason for hiding this comment

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

Do we also need to adapt the post-request check? The interaction between fetch an webtransport is not totally clear to me, but I guess it would also go through https://fetch.spec.whatwg.org/#ref-for-should-block-response%E2%91%A0 ?

@antosart
Copy link
Member

Also, we probably need WPTs.

@mikewest after conversations at TPAC, do we already have an updated process for changes to the spec?

@mikewest
Copy link
Member

No, it's been on my list since TPAC, but I haven't gotten a proposal out yet.

Certainly will require WPT coverage and signals from other vendors, though. I think we have the latter here, but not the former?

@jan-ivar
Copy link
Member Author

I've added the post-request check and used "unsafe-webtransport-hashes is not empty" for now. Thanks for the reviews!

(Unless there are any takers) I'll work on WPT next!

9. Return "`Matches`".
</ol>

<h5 id="allow-unsafe-webtransport-hashes" algorithm>
Copy link
Member

Choose a reason for hiding this comment

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

I think this algorithm is not needed anymore

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.

Introduce new CSP keyword 'unsafe-webtransport-hashes'

4 participants