Closed Bug 381839 Opened 18 years ago Closed 18 years ago

typos, misalignments, etc. (May 2007 edition)

Categories

(Firefox :: Session Restore, defect)

defect
Not set
trivial

Tracking

()

VERIFIED FIXED
Firefox 3 alpha7

People

(Reporter: zeniko, Assigned: zeniko)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Whiteboard: [checkin needed]
Target Milestone: --- → Firefox 3 alpha6
// minimal interval between two save operations (in milliseconds) - _interval: 1000, + _interval: 10000, Hmm.. why? Doesn't seem to be a minor change..
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.
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 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+
ok, how about an updated patch that applies cleanly (or even semi-cleanly) please?
Keywords: checkin-needed
Whiteboard: [checkin needed]
(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
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
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Flags: in-testsuite-
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: