Closed Bug 1464957 Opened 4 years ago Closed 4 years ago
[wpt-sync] Sync PR 11211 - [mediacapture] Simply test and use standard API
Sync web-platform-tests PR 11211 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11211 Details from upstream follow. Mike Pennisi <firstname.lastname@example.org> wrote: > [mediacapture] Simply test and use standard API > > The MediaStream's `active` event was removed from the specification in > December of 2015 . The `addtrack` event offers similar semantics, and > as a standard API, it is expected to be implemented by all browsers > which follow the specification. In addition, because it does not depend > on media playback, its use allows `MediaElement#play` to be removed. > That removal simplifies the process of executing the test because > browsers are beginning to tighten their policies regarding automated > media playback . > >  https://github.com/w3c/mediacapture-main/pull/291 >  https://developers.google.com/web/updates/2017/09/autoplay-policy-changes > > --- > > @yellowdoge @martinthomson @uysalere More context about autoplay is available [here](https://github.com/web-platform-tests/results-collection/pull/552). Other MediaCapture tests continue to rely on the `active` event and on automatic playback, but those definitely need a more advanced solution. Because a simpler solution seemed possible for this test, I thought I'd propose that first. Is there any reason to continue to us `onactive`?
4 years ago
Component: web-platform-tests → Audio/Video: Recording
Product: Testing → Core
Ran 1 tests and 6 subtests OK : 1 PASS : 3 FAIL : 3
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=29f85757f84362a7b7ef9b4708af618cb7e3de0f
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/57a276ab02e0 [wpt PR 11211] - [mediacapture] Simply test and use standard API, a=testonly
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/f282d9917301 [wpt PR 11211] - [mediacapture] Simply test and use standard API, a=testonly
You need to log in before you can comment on or make changes to this bug.