Closed Bug 1742658 Opened 3 years ago Closed 3 years ago

Handle app package browsers on Windows that are not Edge/Edgium

Categories

(Firefox :: Installer, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: nalexander, Assigned: nrishel)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidedi-pdf])

Attachments

(1 file)

Right now, we assume that any app packaged browser is Edge/Edgium. With the Microsoft Store now open to additional browsers, that's no longer true -- in particular, Firefox could be the app packaged browser! This ticket tracks unwinding the AppID values like AppX... to figure out what the browser really is.

I've not found any documentation on this yet, but it looks like each MSIX Application that registers for a file association (or a protocol handler) gets an AppX... AppID generated. Those AppIDs are then used in the regular registry locations, like:

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf

One can find the details in the usual place, like:

Computer\HKEY_CLASSES_ROOT\AppX...\Application

and from there find package details in AppUserModelID, which always appears to be the package family name.

I'm not sure if the generated AppID is:

  • per-package name (including version, etc)
  • per-package family name (not including version, etc)
  • per-device
  • per-installation

But hopefully none of that really matters, and the registry entries let us figure everything out.

Severity: -- → S3
Priority: -- → P1
Assignee: nalexander → nrishel

This changes the heuristic used to identify the Windows default browser. In this the ProgID for the default http protocol handler is used to find an associated Friendly Name. This is campared with known prefixes for tracked browsers.

Special casing is added to track Edge Legacy and Edgium separately.

Attachment #9258592 - Attachment description: WIP: Bug 1742658 - Handle Windows app package browsers in telemetry. → Bug 1742658 - Handle Windows app package browsers in telemetry.
Attachment #9258592 - Attachment description: Bug 1742658 - Handle Windows app package browsers in telemetry. → WIP: Bug 1742658 - Handle Windows app package browsers in telemetry.
Attachment #9258592 - Attachment description: WIP: Bug 1742658 - Handle Windows app package browsers in telemetry. → Bug 1742658 - Handle Windows app package browsers in telemetry.
Pushed by nalexander@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0db83eed57da Handle Windows app package browsers in telemetry. r=nalexander
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: