Closed Bug 1937397 Opened 10 months ago Closed 7 months ago

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

Categories

(SeaMonkey :: Chat, enhancement)

enhancement

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Future
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.21)

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?
Whiteboard: SM2.53.21

Comment on attachment 9443711 [details] [diff] [review]
1937397-irc-returnFile-25321.patch

lgtm r/a+

Attachment #9443711 - Flags: review?(frgrahl)
Attachment #9443711 - Flags: review+
Attachment #9443711 - Flags: approval-comm-release?
Attachment #9443711 - Flags: approval-comm-release+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/81f79888d25e
Add helper to file-utils.js for ensuring an nsIFile is returned in cZ. r=frg DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED

https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/4179b8b9ccf0f1d8ce3277b66669c160515318f1
Add helper to file-utils.js for ensuring an nsIFile is returned in cZ. r=frg a=frg

Target Milestone: --- → Future
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: