[ MediaRecorder ] New Pause/resume events in 65 fire synchronously, which is web incompatible.
Categories
(Core :: Audio/Video: Recording, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox64 | --- | unaffected |
| firefox65 | + | fixed |
| firefox66 | + | fixed |
People
(Reporter: jib, Assigned: pehrsons)
References
Details
Attachments
(11 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
| Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
| Reporter | ||
Comment 4•7 years ago
•
|
||
| Reporter | ||
Comment 11•7 years ago
|
||
| Assignee | ||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Updated•7 years ago
|
| Reporter | ||
Comment 17•7 years ago
|
||
| Reporter | ||
Comment 18•7 years ago
|
||
| Assignee | ||
Comment 20•7 years ago
|
||
| Assignee | ||
Comment 24•7 years ago
|
||
| Assignee | ||
Comment 26•7 years ago
|
||
| Assignee | ||
Comment 27•7 years ago
|
||
Bryce, can you add D14489 as parent revision to D14571 (to have a complete stack), and abandon D14891 and D14892 (I'll re-push them with some fixes)? Thanks.
| Assignee | ||
Comment 28•7 years ago
|
||
| Assignee | ||
Comment 29•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
| Assignee | ||
Comment 30•7 years ago
|
||
| Assignee | ||
Comment 31•7 years ago
|
||
| Assignee | ||
Comment 32•7 years ago
|
||
Scratch the abandoning bit. I was able to update your commits.
Parent set up on review board. Let me know should D14488 (currently marked as need revisions) need further work on my behalf.
| Assignee | ||
Comment 34•7 years ago
|
||
Comment 35•6 years ago
|
||
We've only got one 65 Beta left this cycle before the RC. I'm thinking we should probably just focus on shipping this in 66 at this point. What are your thoughts, Jan-Ivar?
Going to try landing this after discussions with :jib.
Comment 37•6 years ago
|
||
| Reporter | ||
Comment 38•6 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #35)
We've only got one 65 Beta left this cycle before the RC. I'm thinking we should probably just focus on shipping this in 66 at this point. What are your thoughts, Jan-Ivar?
It's all green and ready to go from last week, except landing it fell through the cracks somehow. Landing now.
I'd still prefer we to take it if possible — it's less than 100 lines without tests, and we think it is low risk. Otherwise, this new behavior is wrong out of the gate, which stinks a bit for web developers. We did two spec changes already for this.
Comment 39•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7a0378016cf9
https://hg.mozilla.org/mozilla-central/rev/e19d8db0f4d1
https://hg.mozilla.org/mozilla-central/rev/8f1376f47212
https://hg.mozilla.org/mozilla-central/rev/7f454762898b
https://hg.mozilla.org/mozilla-central/rev/1b35c6f6a582
https://hg.mozilla.org/mozilla-central/rev/e98e7b77182b
https://hg.mozilla.org/mozilla-central/rev/bdfb537d6564
https://hg.mozilla.org/mozilla-central/rev/3556aa3e0f58
https://hg.mozilla.org/mozilla-central/rev/8183cba74edd
https://hg.mozilla.org/mozilla-central/rev/b7b6a2978011
https://hg.mozilla.org/mozilla-central/rev/3b55c65ded33
Comment 40•6 years ago
|
||
Please nominate this for Beta approval when you get a chance.
| Reporter | ||
Comment 41•6 years ago
|
||
Comment on attachment 9034957 [details]
Bug 1514016 - Check that all events are fired as expected for MediaRecorder-stop.html. r?jib
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: Bug 1458538
User impact if declined: MediaRecorder's pause and resume events will begin working, except with the wrong timing which is not to spec and not how Chrome works. Events will fire too soon and synchronously (reentering JS), potentially causing web compat problems with any web site using the MediaRecorder and reacting to these events expecting Chrome/spec behavior.
Mitigating circumstances are that we don't fire these events in release today, so any site relying on them presumably already doesn't work right in release. However, not firing the events may have different side-effects than firing them too soon, so this change may cause behavioral changes by executing content JS out of order that wouldn't have run otherwise.
Also, minor: recorder.stop() and recorder.pause() won't be idempotent and will throw errors if called twice in a row, violating the latest spec, but that part is not a regression.
Is this code covered by automated tests?: Yes
Has the fix been verified in Nightly?: Yes
Needs manual test from QE?: No
If yes, steps to reproduce: comment 0.
List of other uplifts needed: None
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Low risk, as only MediaRecorder API is impacted, and less than 100 lines of code changed, the rest are tests, which are green in Nightly. Tested in Nightly using steps in comment 0.
String changes made/needed: None.
| Reporter | ||
Comment 42•6 years ago
|
||
Request is for all patches in this bug. Andreas is on PTO, back Thursday FWIW.
Comment 44•6 years ago
|
||
Comment on attachment 9034957 [details]
Bug 1514016 - Check that all events are fired as expected for MediaRecorder-stop.html. r?jib
[Triage Comment]
While the number of patches for this is high, a lot of them are test changes. The actual code changes are pretty small. Given that this is a new feature shipping in Fx65, it makes sense to fix up the spec compliance issues before it goes out the door. Approved for 65.0b12.
Comment 45•6 years ago
|
||
| bugherder uplift | ||
https://hg.mozilla.org/releases/mozilla-beta/rev/7746b834faec
https://hg.mozilla.org/releases/mozilla-beta/rev/eb356ac31743
https://hg.mozilla.org/releases/mozilla-beta/rev/90eb6008a5ae
https://hg.mozilla.org/releases/mozilla-beta/rev/5d242f707c45
https://hg.mozilla.org/releases/mozilla-beta/rev/9e2fe8635c95
https://hg.mozilla.org/releases/mozilla-beta/rev/e74775e3a741
https://hg.mozilla.org/releases/mozilla-beta/rev/f8fa8bc2b93f
https://hg.mozilla.org/releases/mozilla-beta/rev/662ea26b9f34
https://hg.mozilla.org/releases/mozilla-beta/rev/f11dd983a8aa
https://hg.mozilla.org/releases/mozilla-beta/rev/c8acac1e463c
https://hg.mozilla.org/releases/mozilla-beta/rev/944e9c24989d
Description
•