Closed Bug 1678109 Opened 4 years ago Closed 4 years ago

get rid of the mailnews IOUtils.jsm

Categories

(Thunderbird :: General, task, P1)

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
88 Branch
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.

bug 986145 has a significant amount completed. Do we need to target v91 for our completion?

Flags: needinfo?(mkmelin+mozilla)

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.

Blocks: 1696659
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Flags: needinfo?(mkmelin+mozilla)
Target Milestone: --- → 88 Branch
Keywords: perf

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/08e7efbb4e58
get rid of the mailnews IOUtils.jsm module. r=freaktechnik

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

If esr78 is a watershed, then the feed migration code should now be removed, not renovated.

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.

Regressions: 1700787

Printing seems to be broken; printUtils.js seems to have been depending on the Services declared in msgPrintEngine.js that was removed here.

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.

Regressions: 1701172
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: