Closed Bug 1558646 Opened 5 years ago Closed 5 years ago

WPT MediaStream-MediaElement-firstframe.https.html, line 41: Error: Got unexpected event undefined

Categories

(Core :: WebRTC: Audio/Video, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: pehrsons, Assigned: pehrsons)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

I noticed [1] (see the raw log) we can get an unexpected event and the test still passes. This should really fail the test.

We should also be logging the type attribute, not the name attribute (hence the log says undefined).

[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=a6688222f39ce29bff4676b0c8e1ddf675c9d86a&selectedJob=251166070

Stopping the tracks as happens in cleanup makes the media element end playback,
which fires durationchange. It doesn't fail the test since it already finished,
but having it show up in the log is distracting.

Depends on D34707

Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a859291efa4e
Fail test by assert on, and log, unexpected events in WPT MS-ME-firstframe. r=jib
https://hg.mozilla.org/integration/autoland/rev/d5b7f97785fa
Unset durationchange handler in WPT MS-ME-firstframe cleanup. r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17312 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: