Convert NetUtils.jsm to an ES module
Categories
(Core :: Networking, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [esmification-timeline][necko-triaged])
Attachments
(3 files)
As part of the ongoing work, we should convert NetUtils.jsm to an ES module.
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D178588
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Backed out 2 changesets (Bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Logs: https://treeherder.mozilla.org/logviewer?job_id=416685705&repo=autoland&lineNumber=6025
mochitests:
https://treeherder.mozilla.org/logviewer?job_id=416687832&repo=autoland&lineNumber=2005
https://treeherder.mozilla.org/logviewer?job_id=416685704&repo=autoland&lineNumber=2259
https://treeherder.mozilla.org/logviewer?job_id=416687317&repo=autoland&lineNumber=1958
Backout: https://hg.mozilla.org/integration/autoland/rev/56c32e84cccddbf5da43e0ba44a2cca2559c1fe6
| Assignee | ||
Comment 5•2 years ago
|
||
Looks like Android can't use the TestFile.jsm, so I switched to TestBlob.jsm instead.
Comment 7•2 years ago
|
||
Backed out along with Bug 1834222 for causing RemoteProcessMonitor failures.
| Assignee | ||
Comment 8•2 years ago
|
||
The test failures are because hostutils need updating for the renamed NetUtil.sys.mjs file.
Given that once the file is renamed we can still use NetUtil.jsm to load the import, I'm going with: 1) land the rename, 2) get hostutils updated, 3) land the import changes. Hopefully that will work.
| Assignee | ||
Comment 9•2 years ago
|
||
Depends on D178588
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
Backed out for having an unreferenced file in NetUtil.sys.mjs
Failure log: https://treeherder.mozilla.org/logviewer?job_id=416898872&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/d72053d9305f1dae27f538650b5119b616bf11b8
| Assignee | ||
Comment 12•2 years ago
|
||
I'm going to add a temporary exception for the unreferenced file so that the staged landing works.
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Comment 16•2 years ago
|
||
| bugherder | ||
Description
•