Implement WebTransport GetStats
Categories
(Core :: Networking: HTTP, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [necko-triaged], [wptsync upstream])
Attachments
(7 external files, 2 obsolete files)
| Assignee | ||
Updated•10 months ago
|
| Assignee | ||
Comment 1•10 months ago
|
||
Updated•10 months ago
|
Updated•8 months ago
|
| Assignee | ||
Comment 2•8 months ago
|
||
Updated•8 months ago
|
| Assignee | ||
Comment 3•8 months ago
|
||
also add a wpt for server-initiated close for WebTransport getStats()
| Assignee | ||
Comment 4•8 months ago
|
||
| Assignee | ||
Comment 5•7 months ago
|
||
Cache WebTransport stats to allow getStats() after close: stats have to be
cached in the content process because we sever the IPC link to the parent
after close.
Support server-initiated closes
Add cycle collection for mPendingGetStatsPromises
Add spec comments for close-pending stats handling
Document the close-pending logic that queues getStats() requests during
user-initiated close to ensure final statistics are available. Also add
spec references for stats caching requirements.
| Assignee | ||
Comment 6•2 months ago
|
||
| Assignee | ||
Comment 7•2 months ago
|
||
neqo drops the session while processing the close, so by the time we drain
the SessionClosed event webtransport_session_stats() fails and we fell back
to Http3WebTransportSession's default-constructed mCachedStats: getStats()
after a server-initiated close reported zeros for every field.
Everything in WebTransportStatsData other than the session's datagram
counters comes from connection-level neqo counters, which are still
available at that point, so fall back to those rather than to zeros.
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 8•1 month ago
|
||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/62634 for changes under testing/web-platform/tests
Comment 11•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4e674f7236f0
https://hg.mozilla.org/mozilla-central/rev/e640a40cbee5
https://hg.mozilla.org/mozilla-central/rev/7ee47aa07314
https://hg.mozilla.org/mozilla-central/rev/c3b462aeb15e
https://hg.mozilla.org/mozilla-central/rev/bca2b9ecd0bb
https://hg.mozilla.org/mozilla-central/rev/4ae5d03207fe
Updated•1 month ago
|
Comment 12•1 month ago
|
||
FF158 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/45893
| Assignee | ||
Comment 13•17 days ago
|
||
getStats() only exposes the stats the user agent wishes to, so every
WebTransportConnectionStats and WebTransportDatagramStats member is
optional except datagrams, estimatedSendRate and atSendCapacity, which
WebIDL guarantees are present because they are required or have defaults.
Comment 14•17 days ago
|
||
Comment 15•17 days ago
|
||
| bugherder | ||
Comment 16•16 days ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Description
•