Open
Bug 1830929
Opened 1 year ago
Updated 1 year ago
[mozprofile] MozProfile should use better preferences file parsing
Categories
(Testing :: Mozbase, enhancement)
Tracking
(Not tracked)
NEW
People
(Reporter: standard8, Unassigned)
Details
The preferences file reader in prefs.py currently reads from the user.js files, translates it into a python-like structure and then uses the python parser to read the values.
This causes workarounds like we're having to do in bug 1830265 for multiline preferences.
We should be using a JavaScript AST parser to avoid these types of workaround being necessary, and it would be more reliable overall that trying to translate into python.
Comment 1•1 year ago
|
||
Gijs also suggested using Firefox's Rust-based libpref
parser directly, which may be possible using something like maturin
![]() |
||
Updated•1 year ago
|
Severity: -- → N/A
Type: defect → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•