Closed
Bug 178440
Opened 22 years ago
Closed 22 years ago
[mach] Mach-0 mozilla ignores startup prefs
Categories
(Core :: Preferences: Backend, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.2final
People
(Reporter: ccarlen, Assigned: ccarlen)
Details
Attachments
(1 file)
1.72 KB,
patch
|
sdagley
:
review+
sfraser_bugs
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
Mozilla only enumerates the general.startup.* prefs (those set in the prefs UI) if the program receives the default number of args. "Default" is considered to be 1. http://lxr.mozilla.org/seamonkey/source/xpfe/bootstrap/nsAppRunner.cpp#1470 But the Mach-0 build, if double-clicked from the Finder, is passed 2 args so we don't read these prefs.
Assignee | ||
Comment 1•22 years ago
|
||
Taking.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2final
Assignee | ||
Comment 2•22 years ago
|
||
This fixes it on 10.2. Can anybody with a 10.1 system test whether we get passed the psn arg on 10.1 as well?
Comment 3•22 years ago
|
||
Comment on attachment 105192 [details] [diff] [review] patch r=sdagley (ccarlen and I discussed the PSN compare and he's convinced me the sprintf is less overhead than a scanf) And verified this will work on 10.1 as we get 2 args there with the 2nd being the PSN
Attachment #105192 -
Flags: review+
Comment 4•22 years ago
|
||
Comment on attachment 105192 [details] [diff] [review] patch sr=sfraser
Attachment #105192 -
Flags: superreview+
Updated•22 years ago
|
Component: Browser-General → Preferences: Backend
QA Contact: asa → sairuh
Comment 5•22 years ago
|
||
Comment on attachment 105192 [details] [diff] [review] patch a=asa for checkin to the 1.2 branch (on behalf of drivers).
Attachment #105192 -
Flags: approval+
Assignee | ||
Updated•22 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•22 years ago
|
||
Checked into 1.2 branch.
Comment 7•22 years ago
|
||
out of curiosity, should this be checked into the trunk as well? (unless you already did so earlier. :)
Assignee | ||
Comment 8•22 years ago
|
||
It went into the trunk already.
Comment 9•22 years ago
|
||
okay, good. rs vrfy (checked lxr) with 2002.11.18.14 (trunk, mach-o).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•