Switch about:neterror and about:certerror to use Fluent

NEW
Unassigned

Status

()

P3
normal
6 months ago
2 days ago

People

(Reporter: johannh, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 months ago
The way we do currently use strings in about:net/certerror is just atrocious. We put all of them in a .dtd and inject them into hidden elements on the page to copy the correct string over into a visible element using .innerHTML. This solution was acceptable for a long time since we lacked a good alternative, but with Fluent coming to untrusted content pages I would really like to end the suffering and use that instead.
(Reporter)

Comment 1

6 months ago
One caveat, though: We should only do this after we have completed the work in bug 1463693 and the error pages are un-forked again.
Depends on: 1463693

Updated

6 months ago
Blocks: 1486917
(Reporter)

Updated

5 months ago
Depends on: 1407418
No longer depends on: 1455649

Now that bug 1517528 is complete, the amount of manual work to do this conversion should be drastically reduced, allowing us to do the conversion on both forks in an acceptable amount of time. Nick, can you use the conversion script you worked on in bug 1517528 to fix this bug?

Assignee: nobody → nickcowles9575
Blocks: 1517304
Mentor: jaws, gijskruitbosch+bugs
Status: NEW → ASSIGNED
Depends on: 1517528
Assignee: nickcowles9575 → nobody
No longer blocks: 1517304
Mentor: gijskruitbosch+bugs, jaws
Status: ASSIGNED → NEW

This is blocked by work on Fluent's side, e.g. https://github.com/projectfluent/fluent.js/issues/288

You need to log in before you can comment on or make changes to this bug.