Closed Bug 1798734 Opened 2 years ago Closed 2 years ago

Remove osfile.jsm from browser/components/migration/SafariProfileMigrator.sys.mjs

Categories

(Toolkit Graveyard :: OS.File, task)

Tracking

(firefox111 fixed)

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: beth, Assigned: beth)

References

Details

Attachments

(1 file)

No description provided.

Hey Angel, this one is going to be a little trickier because you're going to need to do it without having access to the platform that lets you actually use Safari. So I think we'll have you write the patch, and post it for review, but testing is something you might have to leave to myself or others with access to macOS.

There's two usages of the OSFile module here: https://searchfox.org/mozilla-central/rev/d7d2cc647772de15c4c5aa47f74d25d0e379e404/browser/components/migration/SafariProfileMigrator.sys.mjs#401-402

One is the OS.File call, and the other is OS.Path call.

The equivalents are:

Neither require any importing, so we can hopefully just remove the OSFile.jsm module import at the end here.

Assignee: nobody → angelvillalobos1995

Here is a link to the IOUtils Migration Guide

Assignee: angelvillalobos1995 → brennie
No longer blocks: calstate

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:barret, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(brennie)

Leaving needinfo for Barret.

Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(brennie)
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/925b38ccb85c Port osfile.jsm usage to IOUtils in SafariProfileMigrator.sys.mjs r=Gijs
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: