Closed Bug 1904023 Opened 5 months ago Closed 4 months ago

Provide the onStatusChange error message on the download, when it's failing in nsExternalHelperAppService

Categories

(Toolkit :: Downloads API, task, P3)

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: mak, Assigned: mak)

References

Details

Attachments

(1 file)

nsExternalHelperAppService sends a localized error message to onStatusChange, but the downloads code is not using it.
We should bring it over to the download object, and at a minimum we could expose it in a tooltip.
Further UX work could also be done to find a better place in the UI to show the message.

Assignee: nobody → mak
Status: NEW → ASSIGNED

We can pass over the localized error message from nsExternalHelperAppService to
the downloads UI and show it to the user. That may help the user figuring out
why the download failed.
For now long messages are delegated to the tooltip.

Attachment #9414204 - Attachment description: WIP: Bug 1904023 - Provide the onStatusChange error message on the download when the failure is in nsExternalHelperAppService. → Bug 1904023 - Provide the onStatusChange error message on the download when the failure is in nsExternalHelperAppService. r=gijs
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/608efa90ebaa Provide the onStatusChange error message on the download when the failure is in nsExternalHelperAppService. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: