Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox only returns some errors as downloads.InterruptReason #25655

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rebloor
Copy link
Contributor

@rebloor rebloor commented Jan 15, 2025

Summary

Adds details of the interrupted reasons returned from Firefox.

Related issues

Fixes #25654

@rebloor rebloor added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Jan 15, 2025
@rebloor rebloor requested a review from Rob--W January 15, 2025 02:03
@rebloor rebloor self-assigned this Jan 15, 2025
@github-actions github-actions bot added the size:xs [PR only] 0-6 LoC changed label Jan 15, 2025
@caugner caugner changed the title downloads.InterruptReason support limitations in Firefox Firefox only returns some errors as downloads.InterruptReason Jan 17, 2025
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a nit.

@@ -1230,7 +1230,8 @@
},
"edge": "mirror",
"firefox": {
"version_added": "47"
"version_added": "47",
"notes": "Only the NETWORK_FAILED, FILE_FAILED, CRASH, USER_CANCELED, SERVER_BAD_CONTENT, SERVER_FORBIDDEN, SERVER_UNAUTHORIZED, and SERVER_FAILED errors are returned."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Let's put the keywords in code fences:

Suggested change
"notes": "Only the NETWORK_FAILED, FILE_FAILED, CRASH, USER_CANCELED, SERVER_BAD_CONTENT, SERVER_FORBIDDEN, SERVER_UNAUTHORIZED, and SERVER_FAILED errors are returned."
"notes": "Only the `NETWORK_FAILED`, `FILE_FAILED`, `CRASH`, `USER_CANCELED`, `SERVER_BAD_CONTENT`, `SERVER_FORBIDDEN`, `SERVER_UNAUTHORIZED`, and `SERVER_FAILED` errors are returned."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions size:xs [PR only] 0-6 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firefox does not have "Full support" for downloads.InterruptReason
2 participants