Closed Bug 1801416 Opened 3 years ago Closed 2 years ago

Esmifying without import changes causes test failure from browser_all_files_referenced.js

Categories

(Core :: XPConnect, defect)

defect

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: saschanaz, Assigned: standard8)

References

Details

Attachments

(1 file)

Because the test thinks the new .sys.mjs file is never imported.

This can happen when the module is only imported by components from different directories.

Not sure how worth the fix would be, but anyway filing this so that it can be tracked.

See Also: → 1801346
Severity: -- → S3
Assignee: nobody → standard8
Status: NEW → ASSIGNED

The patch I've just added ends up removing the remaining references to jsm files. We're at the stage now where most files are converted, and we shouldn't be hitting this again.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29325effffdb Remove remaining references to jsm files in browser_all_files_referenced.js. r=Gijs
Pushed by nerli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/97d46689ef0a Remove remaining references to jsm files in browser_all_files_referenced.js. r=Gijs

This was relanded, apologies for the inconvenience

Flags: needinfo?(standard8)

Backed out after all for causing mochitests failures in browser_parsable_css.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_parsable_css.js | Got error message for chrome://browser/skin/translations/panel.css: Unexpected token ‘and’ in media list. -
Flags: needinfo?(standard8)
Pushed by sstanca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8ef497d4d1b8 Remove remaining references to jsm files in browser_all_files_referenced.js. r=Gijs
Flags: needinfo?(standard8)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: