Closed
Bug 1733780
Opened 3 years ago
Closed 3 years ago
[wpt-sync] Sync PR 31036 - [WebTransport] Check event type before using its properties
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(firefox95 fixed)
RESOLVED
FIXED
95 Branch
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31036 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31036
Details from upstream follow.
Yutaka Hirano <yhirano@chromium.org> wrote:
[WebTransport] Check event type before using its properties
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.
Assignee | ||
Comment 1•3 years ago
|
||
PR 31036 applied with additional changes from upstream: c15c7aa204e35bdf2a7e1b5cd827e8d8d95a14d3, 96b23e1d1cedf7b93a5013143036f4b7cf0404ab, c9801a7b46ad1a67c3d50322ba14b227a2da669f, 7ac331544d166f06d6fb42df3b1a678518a4d74f
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b33ee04bc87ca12c71a0b27b3150dcb059e9d64f
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5990118c68f [wpt PR 31036] - [WebTransport] Check event type before using its properties, a=testonly
Assignee | ||
Comment 4•3 years ago
|
||
Test result changes from PR not available.
Comment 5•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•