Skip to content

WebTransport docs still uses examples with deprecated/non-standard writable property #44273

@LeoMcA

Description

@LeoMcA

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/datagrams

What specific section or headline is this issue about?

Writing an outgoing datagram

What information was incorrect, unhelpful, or incomplete?

The example uses transport.datagrams.writable with no indication it's deprecated, non-standard or unsupported by Safari: the page has a Baseline Newly Available banner at the top, and the BCD table only contains a single supported key.

What did you expect to see?

Some indication that this isn't supported on Safari, and not Baseline Newly Available.

Perhaps the BCD keys from the interface datagrams exposes: https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream#browser_compatibility

Do you have any supporting links, references, or citations?

writable being deprecated/non-standard: https://developer.mozilla.org/en-US/docs/Web/API/WebTransportDatagramDuplexStream/writable

Do you have anything more you want to share?

A user reported their confusion with this through Discord:

the datagrams page on mdn says safari supports it but seems liek that is not the case

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions