← back to v160 · webtransport-connection-statistics
conformance · v160
v160 · webtransport-connection-statistics — conformance probe
7 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
7
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
getstats-is-prototype-method |
WebTransport.prototype exposes getStats() as a function. spec ↗ | typeof | … | |
getstats-takes-no-arguments |
getStats() is declared with no arguments (Function.length is 0). spec ↗ | script | … | |
getstats-returns-promise |
Calling getStats() on a session returns a Promise. spec ↗ | script | … | |
getstats-bad-this-rejects-typeerror |
getStats() called on a non-WebTransport object returns a promise rejected with TypeError rather than throwing synchronously (WebIDL promise-returning operation). spec ↗ | script | … | |
getstats-failed-session-rejects-invalidstate |
Once a session has failed to establish, getStats() rejects with an InvalidStateError DOMException. spec ↗ | script | … | |
getstats-connecting-waits-then-rejects |
getStats() called while the session is still connecting waits for the state change and, when establishment fails, rejects with InvalidStateError no earlier than ready rejects. spec ↗ | script | … | |
getstats-established-shape |
On an established session getStats() resolves a WebTransportConnectionStats dictionary whose required datagrams member is an object and whose estimatedSendRate is a number or null; after close() it still resolves with the most recent stats. spec ↗ | manual | … |