Closed Bug 1733194 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30945 - Introduce "session_closed" handler callback

Categories

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

task

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:

Introduce "session_closed" handler callback

Introduce "session_closed" handler callback, and add support for
CLOSE_WEBTRANSPORT_SESSION capsule. There is no conforming
clients so it is not tested: I ran existing WPTs and confirmed
this didn't break them.

Also introduce WebTransportSession.dict_for_handlers to allow
handlers to put arbitrary data to the associated session. This is
different from Stash because Stash outlives sessions.

PR 30945 applied with additional changes from upstream: 1103d8a8710563568172cdb0bc0aa076b0e4eefa, c15c7aa204e35bdf2a7e1b5cd827e8d8d95a14d3, 51c7d77cbff727f01a3e17c354aca932c985ca69
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e0014ca63fe7
[wpt PR 30945] - Introduce "session_closed" handler callback, 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.