Open Bug 1937397 Opened 2 months ago Updated 2 months ago

Add helper to file-utils.js for ensuring an nsIFile is returned in cZ

Categories

(SeaMonkey :: Chat, enhancement)

enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

Attachments

(1 file)

At the moment there's duplicated for checking whether an argument is a string or nsIFile and if a string creating an nsIFile from it.
Makes sense to add a helper to file-utils.js that removes this minor duplication

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.21pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none

Attachment #9443711 - Flags: review?(frgrahl)
Attachment #9443711 - Flags: approval-comm-release?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: