Closed
Bug 381839
Opened 18 years ago
Closed 18 years ago
typos, misalignments, etc. (May 2007 edition)
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
VERIFIED
FIXED
Firefox 3 alpha7
People
(Reporter: zeniko, Assigned: zeniko)
Details
Attachments
(1 file, 1 obsolete file)
|
3.26 KB,
patch
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•18 years ago
|
||
| Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed]
| Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → Firefox 3 alpha6
Comment 2•18 years ago
|
||
// minimal interval between two save operations (in milliseconds)
- _interval: 1000,
+ _interval: 10000,
Hmm.. why? Doesn't seem to be a minor change..
| Assignee | ||
Comment 3•18 years ago
|
||
Really, it's just a typo. The default pref value is 10000 (see http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/app/profile/firefox.js&rev=1.185&mark=530-531#526 ) and at startup we read it from there, overriding that pseudo-default (see http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/components/sessionstore/src/nsSessionStore.js&rev=1.64&mark=174-175#150 ). That value of 1000 never had any consequences, neither will a value of 10000 - it just reflects the actual default.
Comment 4•18 years ago
|
||
it probably doesn't need it - but do you mind getting review so people feel better about checking it in please?
Target Milestone: Firefox 3 alpha6 → Firefox 3 beta1
Comment 5•18 years ago
|
||
Comment on attachment 265919 [details] [diff] [review]
patch
r=me, though I think it's generally better to just omit the "pseudo defaults".
Attachment #265919 -
Flags: review+
Comment 6•18 years ago
|
||
ok, how about an updated patch that applies cleanly (or even semi-cleanly) please?
Updated•18 years ago
|
Keywords: checkin-needed
Whiteboard: [checkin needed]
| Assignee | ||
Comment 7•18 years ago
|
||
(In reply to comment #5)
> I think it's generally better to just omit the "pseudo defaults".
And then just assign and use in the code, effectively dropping the "field declaration" at the top of the object? Keeping those around might make it easier to understand which properties are used for what. What to assign them is a certain issue though... anyway, if you wish to change that, please file a bug and I'll get you a patch to review.
Attachment #265919 -
Attachment is obsolete: true
Comment 8•18 years ago
|
||
Checking in browser/components/sessionstore/src/nsSessionStore.js;
/cvsroot/mozilla/browser/components/sessionstore/src/nsSessionStore.js,v <-- nsSessionStore.js
new revision: 1.69; previous revision: 1.68
done
Updated•18 years ago
|
Flags: in-testsuite-
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•