api.WebTransport.closed - wording is a bit ambiguous #36308
Labels
Content:WebAPI
Web API docs
help wanted
If you know something about this topic, we would love your help!
What type of issue is this?
Other
What information was incorrect, unhelpful, or incomplete?
The phrasing "The closed read-only property of the WebTransport interface returns a promise that resolves when the transport is closed." does not make it clear whether this actually triggers the transport to be closed, or just resolves whenever it does happen to close. The wording seems to imply the latter, but the JavaScript snippet/example with the function name
closeTransport
seems to imply that.closed
is a getter which itself triggers closing:What browsers does this problem apply to, if applicable?
No response
What did you expect to see?
Slightly more clear wording.
Did you test this? If so, how?
No.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/closed
MDN metadata
MDN page report details
api.WebTransport.closed
The text was updated successfully, but these errors were encountered: