Closed Bug 2056409 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 61428 - [WebTransport] Correctly test use of WebTransportOptions.datagramsReadableType

Categories

(Core :: Networking: HTTP, task, P4)

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alex Christensen <achristensen@apple.com> wrote:

[WebTransport] Correctly test use of WebTransportOptions.datagramsReadableType

https://www.w3.org/TR/webtransport/#dom-webtransportoptions-datagramsreadabletype says to use a readable byte stream if datagramsReadableType is specified, but to use a readable stream otherwise. https://streams.spec.whatwg.org/#readable-byte-stream says the former is needed to use byob buffers.

This change is from https://github.com/WebKit/WebKit/pull/69795

Component: web-platform-tests → Networking: HTTP
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 11 subtests

Status Summary

Firefox

OK : 4
PASS: 4
FAIL: 40

Chrome

OK : 4
PASS: 4
FAIL: 40

Safari

OK : 4
PASS: 16
FAIL: 28

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webtransport/datagrams.https.any.serviceworker.html [wpt.fyi]
    • Datagrams are echoed successfully: FAIL (Chrome: FAIL, Safari: PASS)
    • Successfully reading datagrams with BYOB reader.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Reading datagrams with insufficient buffer should be rejected.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Transfer max-size datagram: FAIL (Chrome: FAIL, Safari: FAIL)
    • Fail to transfer max-size+1 datagram, handle PMTUD increases: FAIL (Chrome: FAIL, Safari: FAIL)
    • Sending and receiving datagrams is ready to use before session is established: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram's outgoingMaxBufferedDatagrams correctly regulates written datagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagrams read is less than or equal to the incomingMaxBufferedDatagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagram MaxAge getters/setters work correctly: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram MaxBufferedDatagrams getters/setters work correctly: FAIL (Chrome: PASS, Safari: FAIL)
  • /webtransport/datagrams.https.any.html [wpt.fyi]
    • Datagrams are echoed successfully: FAIL (Chrome: FAIL, Safari: PASS)
    • Successfully reading datagrams with BYOB reader.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Reading datagrams with insufficient buffer should be rejected.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Transfer max-size datagram: FAIL (Chrome: FAIL, Safari: FAIL)
    • Fail to transfer max-size+1 datagram, handle PMTUD increases: FAIL (Chrome: FAIL, Safari: FAIL)
    • Sending and receiving datagrams is ready to use before session is established: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram's outgoingMaxBufferedDatagrams correctly regulates written datagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagrams read is less than or equal to the incomingMaxBufferedDatagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagram MaxAge getters/setters work correctly: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram MaxBufferedDatagrams getters/setters work correctly: FAIL (Chrome: PASS, Safari: FAIL)
  • /webtransport/datagrams.https.any.worker.html [wpt.fyi]
    • Datagrams are echoed successfully: FAIL (Chrome: FAIL, Safari: PASS)
    • Successfully reading datagrams with BYOB reader.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Reading datagrams with insufficient buffer should be rejected.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Transfer max-size datagram: FAIL (Chrome: FAIL, Safari: FAIL)
    • Fail to transfer max-size+1 datagram, handle PMTUD increases: FAIL (Chrome: FAIL, Safari: FAIL)
    • Sending and receiving datagrams is ready to use before session is established: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram's outgoingMaxBufferedDatagrams correctly regulates written datagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagrams read is less than or equal to the incomingMaxBufferedDatagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagram MaxAge getters/setters work correctly: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram MaxBufferedDatagrams getters/setters work correctly: FAIL (Chrome: PASS, Safari: FAIL)
  • /webtransport/datagrams.https.any.sharedworker.html [wpt.fyi]
    • Datagrams are echoed successfully: FAIL (Chrome: FAIL, Safari: PASS)
    • Successfully reading datagrams with BYOB reader.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Reading datagrams with insufficient buffer should be rejected.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Transfer max-size datagram: FAIL (Chrome: FAIL, Safari: FAIL)
    • Fail to transfer max-size+1 datagram, handle PMTUD increases: FAIL (Chrome: FAIL, Safari: FAIL)
    • Sending and receiving datagrams is ready to use before session is established: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram's outgoingMaxBufferedDatagrams correctly regulates written datagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagrams read is less than or equal to the incomingMaxBufferedDatagrams: FAIL (Chrome: FAIL, Safari: FAIL)
    • Datagram MaxAge getters/setters work correctly: FAIL (Chrome: FAIL, Safari: PASS)
    • Datagram MaxBufferedDatagrams getters/setters work correctly: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f747a0e19756 https://hg.mozilla.org/integration/autoland/rev/648038f29081 [wpt PR 61428] - [WebTransport] Correctly test use of WebTransportOptions.datagramsReadableType, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.