Bug
1733780 [wpt PR 31036] - [WebTransport] Check event type before using its properties, a=testonly
Automatic update from web-platform-tests
[WebTransport] Check event type before using its properties (#31036)
The below code is problematic
if self._session_stream_id == event.stream_id and\
isinstance(event, WebTransportStreamDataReceived):
because it uses event's property before checking its type. This
leads to errors when event without stream_id comes here. This
change fixes that.
--
wpt-commits:
a302497d29159081c52e6d8e6b0b4e2a0862e9f2
wpt-pr: 31036