The incomingHighWaterMark and outgoingHighWaterMark attributes on WebTransportDatagramDuplexStream are deprecated in favor of incomingMaxBufferedDatagrams and outgoingMaxBufferedDatagrams, following a spec rename. The attribute type also changes from long to unsigned long. Developers should migrate to the new attribute names. The old names will show a console deprecation warning and will be removed in a future release.
The WebTransport specification renamed two attributes on WebTransportDatagramDuplexStream: - incomingHighWaterMark → incomingMaxBufferedDatagrams - outgoingHighWaterMark → outgoingMaxBufferedDatagrams The attribute type was also changed from long to unsigned long. The new names better describe the attributes' purpose (they control the maximum number of buffered datagrams, not a byte-based high water mark). The new attribute names are already exposed alongside the old ones. The old names should be deprecated and removed to align with the specification and avoid developer confusion from having two names for the same thing.