Closed Bug 1309175 Opened 8 years ago Closed 6 years ago

Preference parsing warnings report incorrect line numbers

Categories

(Core :: Preferences: Backend, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1423840
Tracking Status
firefox52 --- wontfix

People

(Reporter: ma1, Assigned: ma1)

References

()

Details

Bug 278878 introduced some warnings sent to the browser console when unexpected things happen while parsing preference files.
Unfortunately those messages are less useful than they could, because line numbers are not reported correctly.
Here we want to improve this information, providing the correct line number at least, if not the column as well.

Originally reported here: https://forums.informaction.com/viewtopic.php?f=14&t=21752
(In reply to Giorgio Maone [:mao] from comment #0)
> Originally reported here:
Er, you meant this one right? https://forums.informaction.com/viewtopic.php?f=7&t=22186
Giorgio, fixing this would be great; the parser code is convoluted enough that I only got close to the right line number with bug 278878, but it's often incorrect.
Too late for firefox 52, mass-wontfix.
Severity: normal → enhancement
Priority: -- → P3
Bug 1423840 rewrote the prefs parser. It now does a much better job with line numbers in error messages.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.