Closed Bug 1796143 Opened 3 years ago Closed 3 years ago

./mach esmify should handle sjs files as well

Categories

(Core :: XPConnect, task)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [esmification-timeline])

Attachments

(3 files)

Currently ./mach esmify doesn't update .sjs files, we should add that as well.

Whiteboard: [esmification-timeline]
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61a9ae6c1a8f Allow esmify to fix sjs files. r=arai https://hg.mozilla.org/integration/autoland/rev/680008b18ad1 Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand https://hg.mozilla.org/integration/autoland/rev/d02d2c2ad921 Add some new modules to esmify's map. r=arai

Backed out for causing mochitest failures on test_double_submit.html.
The only affected platform, so far, seems to be Android 7.0 x86-64.

Push with failures

Failure log

Backout link

[task 2022-10-20T19:13:53.082Z] 19:13:53     INFO -  TEST-START | docshell/test/mochitest/test_double_submit.html
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -  Buffered messages logged at 19:13:42
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -  add_task | Entering runTest
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -  Buffered messages finished
[task 2022-10-20T19:18:55.903Z] 19:18:55  WARNING -  TEST-UNEXPECTED-FAIL | docshell/test/mochitest/test_double_submit.html | Test timed out. -
[task 2022-10-20T19:18:55.903Z] 19:18:55  WARNING -  TEST-UNEXPECTED-FAIL | docshell/test/mochitest/test_double_submit.html | [SimpleTest.finish()] No checks actually run. (You need to call ok(), is(), or similar functions at least once.  Make sure you use SimpleTest.waitForExplicitFinish() if you need it.)
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -      SimpleTest.ok@SimpleTest/SimpleTest.js:414:16
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -      afterCleanup@SimpleTest/SimpleTest.js:1416:18
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -      executeCleanupFunction@SimpleTest/SimpleTest.js:1492:7
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -      SimpleTest.finish@SimpleTest/SimpleTest.js:1512:3
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -      killTest@SimpleTest/TestRunner.js:195:22
[task 2022-10-20T19:18:55.903Z] 19:18:55     INFO -  TEST-OK | docshell/test/mochitest/test_double_submit.html | took 308806ms
[task 2022-10-20T19:18:55.904Z] 19:18:55  WARNING -  TEST-UNEXPECTED-FAIL | /tests/docshell/test/mochitest/test_double_submit.html logged result after SimpleTest.finish(): [SimpleTest.finish()] No checks actually run. (You need to call ok(), is(), or similar functions at least once.  Make sure you use SimpleTest.waitForExplicitFinish() if you need it.)
[task 2022-10-20T19:18:55.904Z] 19:18:55     INFO -  TEST-START | docshell/test/mochitest/test_forceinheritprincipal_overrule_owner.html
Flags: needinfo?(standard8)

Somehow my ./mach try auto push missed that. This needs hostutils updating (which is already in progress) - bug 1792805.

Depends on: 1792805
Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/501960a11d29 Allow esmify to fix sjs files. r=arai https://hg.mozilla.org/integration/autoland/rev/4b5db6c6b5c9 Update *.sjs files for imports that have already been transitioned to ES module files. r=arai,extension-reviewers,credential-management-reviewers,willdurand https://hg.mozilla.org/integration/autoland/rev/28f47c2800e9 Add some new modules to esmify's map. r=arai
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: