Open
Bug 1552272
Opened 7 years ago
Updated 2 years ago
Unify child process argument parsing for libpref initialization
Categories
(Core :: Preferences: Backend, task, P3)
Core
Preferences: Backend
Tracking
()
NEW
People
(Reporter: kmag, Unassigned)
References
Details
Each type of child process currently has its own code for parsing preference-related arguments, despite the parent side having unified code for generating them. This requires a fair amount of code, so having it duplicated in a half dozen different places isn't ideal.
I think the way we really want to handle this is to create the deserializer object before we begin argument parsing, then pre-check each argument with something like:
if (deserializer.ProcessArg(aArgv, aArgc, &i)) {
continue;
}
and have it return true when it consumes the argument, and update &i to reflect any additional arguments it consumes.
Updated•7 years ago
|
Type: defect → task
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
Comment 1•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: kmaglione+bmo → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•