Closed Bug 1878556 Opened 8 months ago Closed 8 months ago

Move addUtmParams.js to aboutwelcome and rename aboutwelcome content js files to mjs

Categories

(Firefox :: Messaging System, task, P1)

task

Tracking

()

RESOLVED FIXED
124 Branch
Iteration:
124.2 - Feb 4 - Feb 16
Tracking Status
firefox124 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

As part of the gradual renaming of files to use the .mjs extension, I think we can do the content ones in browser/components/aboutwelcome.

The test ones appear to be difficult to do because of Karma, though we can consider that separately later.

I'm also moving addUtmParams.js across to aboutwelcome as it doesn't appear to be used in asrouter currently.

Blocks: 1873018
No longer blocks: 1773467
Iteration: --- → 124.2 - Feb 4 - Feb 16
Priority: -- → P1
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb2e02682c8c Rename content-src files for aboutwelcome to use .mjs where appropriate. r=aminomancer,omc-reviewers https://hg.mozilla.org/integration/autoland/rev/2ab3a28f5c04 Move addUtmParams.js to aboutwelcome and rename to .mjs. r=aminomancer,omc-reviewers https://hg.mozilla.org/integration/autoland/rev/425f70fa7e5a Remove unused asrouter/content-src/template-utils.js. r=aminomancer,omc-reviewers

Backed out for causing node failures in aboutwelcome

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | karma /builds/worker/checkouts/gecko/browser/components/aboutwelcome | Coverage for statements (48.15%) in file /builds/worker/checkouts/gecko/browser/components/aboutwelcome/modules/AboutWelcomeDefaults.sys.mjs does not meet per file threshold (80%)
Flags: needinfo?(standard8)

The issue here is that in moving from .js to .mjs I also changed the post processing for Karma to include .mjs files.

It looks like when aboutwelcome was setup, the .jsm files were ignored, so I'll change that to ignoring the .sys.mjs files (as there are no .jsm). I'll file a follow-up as we're also going to need to consider/fix the other directories as well.

Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b467d32af4c1 Rename content-src files for aboutwelcome to use .mjs where appropriate. r=aminomancer,omc-reviewers https://hg.mozilla.org/integration/autoland/rev/2a2beee03211 Move addUtmParams.js to aboutwelcome and rename to .mjs. r=aminomancer,omc-reviewers https://hg.mozilla.org/integration/autoland/rev/718c9d7cddc5 Remove unused asrouter/content-src/template-utils.js. r=aminomancer,omc-reviewers
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: