get rid of the mailnews IOUtils.jsm
Categories
(Thunderbird :: General, task, P1)
Tracking
(thunderbird_esr78 wontfix)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr78 | --- | wontfix |
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
(Keywords: perf)
Attachments
(1 file)
We need to get rid of the mailnews IOUtils.jsm: https://searchfox.org/comm-central/rev/e3363365eed24f91277ac9946d8e61d357d8547d/mailnews/base/src/IOUtils.jsm
OS.File is being phased out in favour of toolkit IOUtils.jsm - see bug 986145. It would be confusing, and maybe not even possible to use them both with the same name. Anyway, there's not a whole lot of useful stuff in the mailnews IOUtils.jsm so replacing should be fairly painless.
Comment 1•5 years ago
|
||
bug 986145 has a significant amount completed. Do we need to target v91 for our completion?
Comment 2•5 years ago
|
||
IOUtils described in bug 986145 isn't a JSM, but a webidl module and parts of it are available as early as 80. You should however still be able to import it, though may have to do so under a different name to avoid conflicts.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
Depends on D108932
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/08e7efbb4e58
get rid of the mailnews IOUtils.jsm module. r=freaktechnik
If esr78 is a watershed, then the feed migration code should now be removed, not renovated.
| Assignee | ||
Comment 6•5 years ago
|
||
Watersheds can only handle automatic updates, so if someone does a manual update from something earlier...
It wasn't a big enough deal to convert so just went with that.
Comment 7•5 years ago
|
||
Printing seems to be broken; printUtils.js seems to have been depending on the Services declared in msgPrintEngine.js that was removed here.
| Assignee | ||
Comment 8•5 years ago
|
||
I see. I had removed it because there were errors about re-declaring non-configurable property Services (something else already defined it). Seems there is bug 1701172 for it.
Description
•