Closed
Bug 485088
Opened 16 years ago
Closed 16 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•16 years ago
|
Comment 2•16 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•16 years ago
|
||
Attachment #369358 -
Attachment is obsolete: true
Attachment #369551 -
Flags: review?(zeniko)
Updated•16 years ago
|
Attachment #369551 -
Flags: review?(zeniko) → review+
| Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 4•16 years ago
|
||
Updated•16 years ago
|
Target Milestone: --- → Firefox 3.6a1
| Assignee | ||
Comment 5•16 years ago
|
||
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•