Closed Bug 1733649 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31062 - [WebTransport] Fix up capsule handling logic

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31062 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31062
Details from upstream follow.

Yutaka Hirano <yhirano@chromium.org> wrote:

[WebTransport] Fix up capsule handling logic

  • We need to check DataReceived events, not
    WebTransportDataReceived, on the CONNECT stream.
  • Fix a bug on H3CapsuleDecoder that handles empty
    bytes incorrectly.
  • Introduce _allow_datagrams and set it to true when
    the server sees REGISTER_DATAGRAM_NO_CONTEXT
    (when the datagram-04 is supported).
  • When _allow_datagrams is false ignore datagrams.
Whiteboard: [wptsync downstream] → [wptsync downstream error]
PR 31062 applied with additional changes from upstream: 96b23e1d1cedf7b93a5013143036f4b7cf0404ab, c9801a7b46ad1a67c3d50322ba14b227a2da669f, 7ac331544d166f06d6fb42df3b1a678518a4d74f, a302497d29159081c52e6d8e6b0b4e2a0862e9f2, e4d5edb3be2c65d6d4e3076dd9562bbae9848573, e6d855f57d99bc88e0703f61e2787653fa3d5c35, 3ce28a9d560619a8b6470ca069339c66305ede93
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb75b088af54 [wpt PR 31062] - [WebTransport] Fix up capsule handling logic, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.