Open Bug 1584585 Opened 5 years ago Updated 2 months ago

Add more error messages to fluent files for about:neterror

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

People

(Reporter: Mardak, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

Guessing this is from bug 1561443 as it added this code:

https://searchfox.org/mozilla-central/rev/23f836a71cfe961373c8bd0d0219ec60a64b3c8f/browser/base/content/aboutNetError.js#355-366

errorCodeStr should be PR_CONNECT_RESET_ERROR as it's shown as-is slightly below {$errorMessage}

So errorCodeMsg seems like it's trying to get localized pr-connect-reset-error, which does not exist.

"ssl-connection-error" does get hostname just not errorMessage as shown attached.

Prathiksha, do you have time to take a look at this?

Flags: needinfo?(prathikshaprasadsuman)
No longer depends on: 1561443
Keywords: regression
Regressed by: 1561443

[Tracking Requested - why for this release]:
Visual regression in error pages that makes us look bad

Priority: -- → P1

Can this bug be assigned to me so I can work on it properly?
I added a patch before it was attached (a lack of knowledge on my side).
I'd like to track all messages that are missing and add everything if possible.

Moreover, I can patch the Js code in order to have an empty field for errorMessage if necessary.

To be clear, the correct fix for this is in this patch: https://phabricator.services.mozilla.com/D47524

Adding new error messages is fine, but we should definitely fix the variable name.

Thanks!

Assignee: nobody → oudin+mozilla
Status: NEW → ASSIGNED
Flags: needinfo?(prathikshaprasadsuman)

Oh indeed, I didn't remember but I made myself the same remark a few days ago when working on Bug 1583831.
I will have a look at https://searchfox.org/mozilla-central/source/nsprpub/pr/src/misc/prerr.c#75 to see which messages should be added to nsserrors.ftl

Hi, are you still working on this? We would like to land https://phabricator.services.mozilla.com/D47524 and there's not really a need to add new messages at this point if it means delaying the fix (which it probably would, due to copy nit-picking).

Do you want me to re-open the other bug and land the variable name fix so that you can work on the updated strings here?

Flags: needinfo?(oudin+mozilla)

Maybe it will be easier to open another bug for the strings, not to delay the variable name fix.
Sorry for disappearing for two days, I have some serious IPL issues to deal with.

Flags: needinfo?(oudin+mozilla)

Ok, no worries, thank you for your help, let me re-open the other bug and land the fix then :)

Priority: P1 → P3
Summary: aboutNetError shows fluent {$errorMessage} for PR_CONNECT_RESET_ERROR → Add more error messages to fluent files for about:neterror

Dropping the status flags since the immediate issue was fixed in bug 1584685.

Keywords: regression
See Also: → 1584685

You need to remove the regressed by bug 1561443 if you want to remove the regression tag. Otherwise, the bot will add the tag back.

Keywords: regression
No longer regressed by: 1561443
See Also: → 1725965

The bug assignee didn't login in Bugzilla in the last 7 months.
:sgalich, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: oudin+mozilla → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(sgalich)
Severity: normal → S3
Flags: needinfo?(sgalich)
Component: Security → Networking
Product: Firefox → Core
Whiteboard: [necko-triaged]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: