Closed Bug 1577890 Opened 5 years ago Closed 5 years ago

Clean-up all fennec related code for media control

Categories

(Core :: Audio/Video: Playback, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

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
Details | Review

As Fennec is going to be deprecated and Fennec is no longer using the latest Nightly, it uses ESR68 related verisions and only accepts security issues to be uplifted.

Therefore, basically, we can remove all Fennec related media control codes in MediaElement and AudioChannelService.

Blocks: 1577037

Now I'm working on this, and I will target this on the next release cycle.

Priority: P2 → P3

media-playback is a notification which we used for Fennec to indicate media has started playing and we should show the virtual controller interface. As it's not being used by anyone since we deprecate Fennec, we can remove all related code.

media-playback-resumed was a notification we used on Fennec to indicate media playback state changes and we should update the UI button on the virtual control interface. As it's not being used by anyone since we deprecate Fennec, we can remove all related code.

After removing Fennec-specific media control and audio focus related code, now no one is using mediaSuspend attribute, so we can remove it as well.

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b930c378261f part1 : remove 'media-playback' notification. r=baku https://hg.mozilla.org/integration/autoland/rev/5773999b5369 part2 : remove 'media-playback-resumed' notification. r=baku https://hg.mozilla.org/integration/autoland/rev/7ec5367d5333 part3 : remove media control related code in AndroidBridge. r=snorp https://hg.mozilla.org/integration/autoland/rev/d40249d08f6d part4 : remove media control Android chrome test. r=snorp https://hg.mozilla.org/integration/autoland/rev/18d03fa6afc8 part5 : remove tests for checking suspend states. r=baku https://hg.mozilla.org/integration/autoland/rev/bce6163912b5 part6 : remove browser's methods which were used for android media control. r=baku https://hg.mozilla.org/integration/autoland/rev/df73edd2575f part7 : remove 'computedSuspended' which is a testing-only attribute. r=baku https://hg.mozilla.org/integration/autoland/rev/3d10b03cd269 part8 : remove fennec media control related logic from HTMLMediaElement r=baku https://hg.mozilla.org/integration/autoland/rev/769dc257c2ba part9 : remove unused suspend types. r=baku https://hg.mozilla.org/integration/autoland/rev/991725a20664 part10 : remove unused function 'ShouldBlockMedia()'. r=baku https://hg.mozilla.org/integration/autoland/rev/b1cdc8118638 part11 : remove 'mediaSuspend' from nsIDOMWindowUtils. r=baku
Regressions: 1625615
No longer blocks: 1625615
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: