Closed Bug 1620470 Opened 5 years ago Closed 5 years ago

Always use default metadata when we're in the private browsing mode

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

Details

Attachments

(2 files)

From [1], we could know we don't want to expose any website's information on the default metadata we generate, but we should also prevent using media session's metadata in this situation, which would also expose the website's content information on the virtual control interface.

[1] https://searchfox.org/mozilla-central/rev/13b081a62d3f3e3e3120f95564529257b0bf451c/dom/media/mediasession/MediaSessionController.cpp#111-115

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc88205b5326 part1 : always use default metadata if we're in private browsing. r=MeFisto94 https://hg.mozilla.org/integration/autoland/rev/87c7d8bddae8 part2 : add test. r=MeFisto94
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: