Replace do_CreateInstance for nsIFile with NS_NewLocalFile
Categories
(Core :: XPCOM, task, P3)
Tracking
()
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
| Reporter | ||
Comment 1•3 years ago
|
||
Searchfox Results:
https://searchfox.org/mozilla-central/rev/b7642d0089449244d6361680bc619c94bf11725f/widget/windows/nsDeviceContextSpecWin.cpp#297
https://searchfox.org/mozilla-central/rev/d85572c1963f72e8bef2787d900e0a8ffd8e6728/gfx/thebes/gfxUtils.cpp#1442
https://searchfox.org/mozilla-central/rev/d85572c1963f72e8bef2787d900e0a8ffd8e6728/security/manager/ssl/nsNSSComponent.cpp#1605
https://searchfox.org/mozilla-central/rev/d85572c1963f72e8bef2787d900e0a8ffd8e6728/widget/windows/JumpListItem.cpp#404
https://searchfox.org/mozilla-central/rev/d85572c1963f72e8bef2787d900e0a8ffd8e6728/widget/windows/WinUtils.cpp#1018
| Reporter | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5a815a84187e
https://hg.mozilla.org/mozilla-central/rev/cee8c70ba11d
| Assignee | ||
Comment 6•2 years ago
|
||
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.
| Assignee | ||
Comment 7•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
Comment 9•1 year ago
|
||
| bugherder | ||
Comment 10•1 year ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Description
•