Skip to content

Tighten network partition key (at least in "webtransport" mode) #1926

Description

@jan-ivar

What is the issue with the Fetch Standard?

The network partition key step says secondKey can "be null or an implementation-defined value".

This seems like a historical accommodation, with all major engines partitioning fetch() more strictly today.

But for new technology, this seems to leave the door ajar for no reason.

For WebTransport, whose constructor builds a fetch request in "webtransport" mode, a null secondKey lets a compliant UA pool QUIC sessions across cross-origin iframes on the same top-level page. Seems problematic.

No engine ships WT pooling yet, so tightening is free.

Possible avenues:

  • A: prescribe a non-null secondKey for everyone (e.g the request's client's origin or its site)
  • B: when request's mode is "webtransport", prescribe A
  • C: when request's mode is "webtransport" and secondKey doesn't satisfy A, set new to "yes-and-dedicated"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions