Convert NetUtils.jsm to an ES module
Categories
(Core :: Networking, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
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•7 months ago
|
||
Assignee | ||
Comment 2•7 months ago
|
||
Depends on D178588
Updated•6 months ago
|
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ae2f0837b528 Avoid using NetUtil as a test file in js/xpconnect/tests. r=arai https://hg.mozilla.org/integration/autoland/rev/57876d77a652 Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Comment 4•6 months 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•6 months ago
|
||
Looks like Android can't use the TestFile.jsm, so I switched to TestBlob.jsm instead.
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/74d1880272d3 Avoid using NetUtil as a test file in js/xpconnect/tests. r=arai https://hg.mozilla.org/integration/autoland/rev/ea1d8b634bfc Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Comment 7•6 months ago
|
||
Backed out along with Bug 1834222 for causing RemoteProcessMonitor failures.
Assignee | ||
Comment 8•6 months 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•6 months ago
|
||
Depends on D178588
Assignee | ||
Updated•6 months ago
|
Updated•6 months ago
|
Comment 10•6 months ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f17584d19ea7 Avoid using NetUtil as a test file in js/xpconnect/tests. r=arai https://hg.mozilla.org/integration/autoland/rev/2cc40181bae9 Convert NetUtil.jsm to an ES module. r=necko-reviewers,valentin
Comment 11•6 months 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•6 months ago
|
||
I'm going to add a temporary exception for the unreferenced file so that the staged landing works.
Comment 13•6 months ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd56014074a9 Avoid using NetUtil as a test file in js/xpconnect/tests. r=arai https://hg.mozilla.org/integration/autoland/rev/d8ee1fe4340a Convert NetUtil.jsm to an ES module. r=necko-reviewers,valentin
Comment 14•6 months ago
|
||
bugherder |
Assignee | ||
Updated•6 months ago
|
Comment 15•6 months ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ee71fd842f2 Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Comment 16•6 months ago
|
||
bugherder |
Description
•