Closed Bug 1821899 Opened 2 years ago Closed 2 years ago

Convert toolkit/components/taskscheduler to ES modules

Categories

(Toolkit :: Application Update, task, P3)

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: standard8, Assigned: sauvic, Mentored)

References

Details

(Keywords: good-first-bug, Whiteboard: [esmification-timeline][lang=js])

Attachments

(1 file)

I'm happy to mentor work towards this bug. Please don't ask to be assigned to it, though you can say you're working on it. You'll be automatically assigned when you upload the first patches.

Here's what to do:

  • Make sure you have a local build of Firefox up and running. Use these instructions if you haven't already.
  • Using the ESMification walkthrough as a guide:
    1. Run ./mach esmify --convert path/to/files
    2. Examine the output for any errors from ESLint and fix them.
    3. Next convert the imports - ./mach esmify --import . --prefix path/to/files
    4. Again, check for any errors and fix them.
    5. Update any comments and documentation that were previous referencing the .jsm files that are now .sys.mjs, see this link to find cases: https://searchfox.org/mozilla-central/search?q=TaskScheduler.jsm&path=&case=false&regexp=false
    6. Run a build to check it passes.
    7. Also run ./mach eslint --fix path/to/files and check there are no raised failures
    8. Commit the changes with a commit messages such as "Bug nnnnnn - Convert path/to/files to ES modules. r?Standard8"
  • Use moz-phab submit to submit the patches for review.
Priority: -- → P3

Im working on it.

Assignee: nobody → sauvicldraco016
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d9cde8936d8 Convert toolkit/components/taskscheduler to ES modules. r=Standard8,application-update-reviewers,bytesized
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: