Closed Bug 1776893 Opened 4 years ago Closed 1 year ago

Replace do_CreateInstance for nsIFile with NS_NewLocalFile

Categories

(Core :: XPCOM, task, P3)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox133 --- wontfix
firefox134 --- wontfix
firefox135 --- fixed

People

(Reporter: beth, Assigned: oold, Mentored)

References

Details

Attachments

(2 external files)

We already have a method for creating nsIFile without going through the XPCOM do_CreateInstance machinery

Mentor: brennie
Assignee: nobody → mail
Status: NEW → ASSIGNED
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/cee8c70ba11d Undo behavior change on windows that break test_broken_fips.js
Pushed by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/5a815a84187e Replace do_CreateInstance for nsIFile with NS_NewLocalFile. r=xpcom-reviewers,profiler-reviewers,emilio,aabh
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

I've realized I actually missed a few dozen lines where NS_LOCAL_FILE_CONTRACTID was used with do_CreateInstance(). I'll work on a patch for the remaining calls.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd7fd4c04c04 Replace do_CreateInstance for nsIFile with NS_NewLocalFile (part 2) r=emilio,necko-reviewers,win-reviewers,handyman,valentin
Status: REOPENED → RESOLVED
Closed: 2 years ago → 1 year ago
Resolution: --- → FIXED
See Also: → 1933395

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

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

Attachment

General

Created:
Updated:
Size: