Open
Bug 2065866
Opened 3 months ago
Updated 3 months ago
Firefox reports its SourceAppUserModelId as "308046B0AF4A39CB" to Windows SMTC
Categories
(Firefox :: Untriaged, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: lingeriegoat, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:153.0) Gecko/20100101 Firefox/153.0
Steps to reproduce:
- Navigate to any site that plays media, youtube.com for example
- Start a video
- In a separate application, directly query the windows SMTC session data and look at the SourceAppUserModelId
For example, in C# (You will need Microsoft.Windows.SDK.Contracts nuget package to run the below code):
using System;
using System.Collections.Generic;
using System.Threading;
using Windows.Media.Control;
namespace FirefoxSMTCTest
{
internal class Program
{
static void Main(string[] args)
{
GlobalSystemMediaTransportControlsSessionManager manager = GlobalSystemMediaTransportControlsSessionManager.RequestAsync().GetAwaiter().GetResult();
IReadOnlyList<GlobalSystemMediaTransportControlsSession> sessions = manager.GetSessions();
GlobalSystemMediaTransportControlsSession session = null;
GlobalSystemMediaTransportControlsSessionMediaProperties prop = null;
foreach (GlobalSystemMediaTransportControlsSession s in sessions)
{
session = s;
Console.WriteLine(s.SourceAppUserModelId);
}
}
}
}
Actual results:
Firefox reports as "308046B0AF4A39CB", or if not installed in the default location, a hash of its install location.
Expected results:
It should report "Firefox" or at least "Firefox-308046B0AF4A39CB".
As an example, Google Chrome reports as "Chrome" and Microsoft Edge reports as "MSEdge"
Comment 1•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Updated•3 months ago
|
Component: Audio/Video: Playback → Untriaged
Product: Core → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•