Closed
Bug 485088
Opened 15 years ago
Closed 15 years ago
use clearUserPref to set a userPref to default value in Session Restore tests
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
VERIFIED
FIXED
Firefox 3.6a1
People
(Reporter: mkohler, Assigned: mkohler)
References
()
Details
Attachments
(1 file, 1 obsolete file)
12.17 KB,
patch
|
zeniko
:
review+
|
Details | Diff | Splinter Review |
IMHO it would be better to use clearUserPref to set the default value in Session Restore tests instead of saving the default value in a variable and then set it back with the value of this variable. Simon: this needs try-catch, right?
Assignee | ||
Updated•15 years ago
|
Comment 2•15 years ago
|
||
Comment on attachment 369358 [details] [diff] [review] Patch v1 >- // record the timestamp of sessionstore.js at the end of the private session >+ // record the timestamp of sessionstore.js at the end of the private session Nit: Undo this change (trailing whitespace). r+=me with this nit fixed, thanks. BTW: For consistency, I'd be fine if you changed the tests for bug 350525 and bug 367052 to using clearUserPref as well.
Attachment #369358 -
Flags: review?(zeniko) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #369358 -
Attachment is obsolete: true
Attachment #369551 -
Flags: review?(zeniko)
Updated•15 years ago
|
Attachment #369551 -
Flags: review?(zeniko) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 4•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/50a692b9e897
Updated•15 years ago
|
Target Milestone: --- → Firefox 3.6a1
Assignee | ||
Comment 5•15 years ago
|
||
[VERIFIED] http://hg.mozilla.org/mozilla-central/file/7fcb443a08ce/browser/components/sessionstore/test/browser/
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•