Closed
Bug 340895
Opened 18 years ago
Closed 18 years ago
Move SessionStore preferences to firefox.js
Categories
(Firefox :: Session Restore, defect)
Tracking
()
VERIFIED
FIXED
Firefox 2
People
(Reporter: zeniko, Assigned: zeniko)
References
Details
(Keywords: fixed1.8.1.2)
Attachments
(3 files, 8 obsolete files)
2.32 KB,
patch
|
Gavin
:
review+
jay
:
approval1.8.1.2+
|
Details | Diff | Splinter Review |
22.48 KB,
patch
|
Details | Diff | Splinter Review | |
21.29 KB,
patch
|
Details | Diff | Splinter Review |
... and get rid of _getPref and DEFAULT_* altogether.
This is what most other components do and would at least make it obvious to testers what defaults were chosen (i.e. that it's currently disabled and that POSTDATA won't be saved).
Assignee | ||
Comment 1•18 years ago
|
||
*** Bug 343151 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 2•18 years ago
|
||
Assignee | ||
Comment 3•18 years ago
|
||
Attachment #227762 -
Flags: review?(mconnor)
Assignee | ||
Updated•18 years ago
|
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta2
Updated•18 years ago
|
Version: unspecified → 2.0 Branch
Comment 4•18 years ago
|
||
Will likely still take this, but not going to block on code cleanup.
Flags: blocking-firefox2? → blocking-firefox2-
just updates browser.startup.page notes in firefox.js after bug 340898
Assignee | ||
Comment 6•18 years ago
|
||
Asking review from Dietrich since he's probably got more time for this.
Attachment #227758 -
Attachment is obsolete: true
Attachment #227762 -
Attachment is obsolete: true
Attachment #229878 -
Attachment is obsolete: true
Attachment #229881 -
Flags: review?(dietrich)
Attachment #227758 -
Flags: review?(mconnor)
Attachment #227762 -
Flags: review?(mconnor)
Comment 7•18 years ago
|
||
Comment on attachment 229881 [details] [diff] [review]
all-in-one patch
Simon, could you please update this patch to current trunk? thanks.
Attachment #229881 -
Flags: review?(dietrich)
Assignee | ||
Comment 8•18 years ago
|
||
Attachment #229881 -
Attachment is obsolete: true
Attachment #233498 -
Flags: review?(bugs.mano)
Comment 9•18 years ago
|
||
Comment on attachment 233498 [details] [diff] [review]
fix (unbitrotted)
r=mano (trunk only for now).
Attachment #233498 -
Flags: review?(bugs.mano) → review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed]
Comment 10•18 years ago
|
||
Checked in on trunk. Request approval as necessary if you want this landed on branch.
/mozilla/browser/components/sessionstore/src/nsSessionStore.js 1.37
/mozilla/browser/components/sessionstore/src/nsSessionStartup.js 1.11
/mozilla/browser/app/profile/firefox.js 1.147
/mozilla/browser/base/content/browser.js 1.685
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Comment 11•18 years ago
|
||
Backed out due to tinderbox orange.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 12•18 years ago
|
||
(In reply to comment #11)
> Backed out due to tinderbox orange.
Any idea what might have caused this? In case it was just bitrot - please land this updated patch.
Attachment #233498 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed]
Target Milestone: Firefox 2 beta2 → Firefox 2
Comment 13•18 years ago
|
||
I don't think it was bitrot; I think it had something to do with moving the prefs. to firefox.js -- the startup tests were failing in the same way they did when session store was first enabled.
pkasting, rhelmer and I discussed this on IRC. I don't know if they ever figured out what was /actually/ going on, though.
Assignee | ||
Comment 14•18 years ago
|
||
(In reply to comment #13)
> I don't think it was bitrot; I think it had something to do with moving the
> prefs. to firefox.js -- the startup tests were failing in the same way they did
> when session store was first enabled.
IIRC the startup tests were failing because SessionStore tried to restore the previous session since Firefox is simply killed after each test. To that end we had introduced the browser.sessionstore.resume_from_crash pref which is set to false by the test setup script.
Adding that pref to firefox.js should however not have any effect since the setup script already changes the value of other prefs having a default value. I'd thus appreciate it if anybody with better knowledge about the testing infrastructure could shed some insight on the matter.
Status: REOPENED → NEW
Comment 15•18 years ago
|
||
Simon, could you post an updated patch that applies to current trunk?
Updated•18 years ago
|
Whiteboard: [checkin needed] → [updated patch needed]
Assignee | ||
Comment 16•18 years ago
|
||
Attachment #236432 -
Attachment is obsolete: true
Comment 17•18 years ago
|
||
*** Bug 363650 has been marked as a duplicate of this bug. ***
Comment 18•18 years ago
|
||
unbitrotted, and fixed syntax error.
Assignee: zeniko → dietrich
Attachment #240048 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #248466 -
Flags: review?(mano)
Comment 19•18 years ago
|
||
Bug 363650 was marked a duplicate of this (sorry about that, I did search), but for the FF2 updates I only want the firefox.js changes, not the code cleanup (defaults in the code aren't going to hurt anything in FF2).
Flags: blocking1.8.1.2?
Updated•18 years ago
|
Flags: blocking1.8.1.2? → blocking1.8.1.2+
Assignee | ||
Comment 20•18 years ago
|
||
Assignee: dietrich → zeniko
Attachment #249011 -
Flags: review?(gavin.sharp)
Attachment #249011 -
Flags: approval1.8.1.2?
Updated•18 years ago
|
Attachment #249011 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [updated patch needed]
Comment 21•18 years ago
|
||
Comment on attachment 248466 [details] [diff] [review]
fix (unbitrotted 4)
lets try landing this again.
Attachment #248466 -
Flags: review?(mano) → review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed]
Comment 22•18 years ago
|
||
Comment on attachment 249011 [details] [diff] [review]
prefs only (branch patch)
Approved for 1.8 branch, a=jay for drivers.
Attachment #249011 -
Flags: approval1.8.1.2? → approval1.8.1.2+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed] → [checkin needed][checkin needed (1.8 branch)]
Comment 23•18 years ago
|
||
I was just about to check this in, but it got bitrotted by bug 364972 :(.
Whiteboard: [checkin needed][checkin needed (1.8 branch)] → [checkin needed (1.8 branch)]
Comment 24•18 years ago
|
||
mozilla/browser/app/profile/firefox.js 1.71.2.80
Keywords: fixed1.8.1.2
Whiteboard: [checkin needed (1.8 branch)]
Comment 25•18 years ago
|
||
i'm un-bitrotting the trunk patch now for check-in.
Assignee | ||
Comment 26•18 years ago
|
||
Sorry 'bout the bitrot. Here we go again...
Attachment #248466 -
Attachment is obsolete: true
Comment 27•18 years ago
|
||
Comment 28•18 years ago
|
||
Checking in browser/app/profile/firefox.js;
/cvsroot/mozilla/browser/app/profile/firefox.js,v <-- firefox.js
new revision: 1.168; previous revision: 1.167
done
Checking in browser/base/content/browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v <-- browser.js
new revision: 1.748; previous revision: 1.747
done
Checking in browser/components/sessionstore/src/nsSessionStartup.js;
/cvsroot/mozilla/browser/components/sessionstore/src/nsSessionStartup.js,v <-- nsSessionStartup.js
new revision: 1.15; previous revision: 1.14
done
Checking in browser/components/sessionstore/src/nsSessionStore.js;
/cvsroot/mozilla/browser/components/sessionstore/src/nsSessionStore.js,v <-- nsSessionStore.js
new revision: 1.57; previous revision: 1.56
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•18 years ago
|
Component: General → Session Restore
QA Contact: general → session.restore
Comment 29•15 years ago
|
||
[VERIFIED] http://hg.mozilla.org/mozilla-central/file/7fcb443a08ce/browser/app/profile/firefox.js#l740
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•