зеркало из https://github.com/mozilla/gecko-dev.git
9835634604
The spec allows for MediaRecorder.start() to hold the "start" event until it has collected some actual data. This means "pause" and "resume" events can occur before "start", on the contrary of this testcase. This patch avoids this ambiguity by: 1) Drawing a frame to the canvas so that the track contains some real data. 2) Wait for "start" before pause()ing, to ensure "start" comes first. Note that without 1), 2) could wait indefinitely, resulting in a timeout. Differential Revision: https://phabricator.services.mozilla.com/D46470 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
BlobEvent-constructor.html.ini | ||
MediaRecorder-detached-context.html.ini | ||
__dir__.ini | ||
idlharness.window.js.ini |