Closed Bug 395618 Opened 17 years ago Closed 17 years ago

UseUserPrefFile should check that user.js exists

Categories

(Core :: Preferences: Backend, defect)

x86
SunOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sayrer, Assigned: sayrer)

Details

Attachments

(1 file)

We try to open the file as an input stream before checking that it exists
Attached patch call exists()Splinter Review
Assignee: nobody → sayrer
Status: NEW → ASSIGNED
Attachment #280295 - Flags: superreview?(benjamin)
Attachment #280295 - Flags: review?(benjamin)
hmm, NS_ERROR_FILE_NOT_FOUND is better, wonder why I didn't see that when I looked in LXR.
Comment on attachment 280295 [details] [diff] [review]
call exists()

r=me with your nit
Attachment #280295 - Flags: superreview?(benjamin)
Attachment #280295 - Flags: superreview+
Attachment #280295 - Flags: review?(benjamin)
Attachment #280295 - Flags: review+
Attachment #280295 - Flags: approval1.9+
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: