VOOZH about

URL: https://phabricator.services.mozilla.com/D77881

⇱ ⚙ D77881 Bug 1623971 - P5: The arguments to `SetMusicMetadata` must be non-null


Bug 1623971 - P5: The arguments to `SetMusicMetadata` must be non-null
ClosedPublic

Authored by chunmin on Jun 2 2020, 7:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 23, 5:45 PM
Unknown Object (File)
May 12 2026, 7:42 AM
Unknown Object (File)
Apr 26 2026, 11:59 AM
Unknown Object (File)
Apr 26 2026, 4:53 AM
Unknown Object (File)
Apr 14 2026, 2:05 AM
Unknown Object (File)
Apr 10 2026, 4:29 AM
Unknown Object (File)
Apr 4 2026, 5:51 PM
Unknown Object (File)
Mar 25 2026, 7:21 AM
Subscribers

Details

Summary

must be constructed with a non-null . The
raw pointer returned from is a non-null address so
it's ok to add an assertion in .

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
Comment Actions

Why can we assert this? We don't ensure that we would always get artist name and album artist. The default metadata only contains title and artwork.

[1] https://searchfox.org/mozilla-central/rev/598e50d2c3cd81cd616654f16af811adceb08f9f/dom/media/mediacontrol/MediaStatusManager.cpp#163-164

chunmin edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jun 10 2020, 1:00 AM

Revision Contents

PathSize
widget/
windows/
8 lines
CommitParentsAuthorSummaryDate
caca22b92048Chun-Min Chang
Bug 1623971 - P5: The arguments to `SetMusicMetadata` must be non-null r=alwu (Show More…)
StatusAuthorRevision
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin
Closedchunmin

Diff 298953

widget/windows/WindowsSMTCProvider.cpp

Loading...