Bug 1733535 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Using `OS.File` for file access is now obsolete and can be replaced by code using IOUtils. Working towards this, the attribution code is loaded on startup and accesses IOUtils. Fixing this should help a little towards startup performance.

The code in question can be [found here](https://searchfox.org/mozilla-central/search?q=OS.File&path=browser%2Fcomponents%2Fattribution&case=false&regexp=false
).

There is [background information here](https://docs.google.com/document/d/10_3dg0azLREP76esG5yWX4O8z4MJ0VUsplfPaTqhPxc/view#) about how to migrate from `OS.File` to `IOUtils`. If you have questions, please ask.

To run the tests after you've built, you can run `./mach mochitest browser/components/attribution/`. You should also check ESLint before commiting: `./mach eslint browser/components/attribution/`.

I'm happy to mentor this. Note this bug will be auto-assigned when the first patch is attached.
Using `OS.File` for file access is now obsolete and can be replaced by code using IOUtils. Working towards this, the attribution code is loaded on startup and accesses `OS.File`. Fixing this should help a little towards startup performance.

The code in question can be [found here](https://searchfox.org/mozilla-central/search?q=OS.File&path=browser%2Fcomponents%2Fattribution&case=false&regexp=false
).

There is [background information here](https://docs.google.com/document/d/10_3dg0azLREP76esG5yWX4O8z4MJ0VUsplfPaTqhPxc/view#) about how to migrate from `OS.File` to `IOUtils`. If you have questions, please ask.

To run the tests after you've built, you can run `./mach mochitest browser/components/attribution/`. You should also check ESLint before commiting: `./mach eslint browser/components/attribution/`.

I'm happy to mentor this. Note this bug will be auto-assigned when the first patch is attached.

Back to Bug 1733535 Comment 0