Closed Bug 1988139 Opened 2 months ago Closed 2 months ago

Convert head_servers.js into a sys.mjs module so it's available to all xpcshell-tests

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

netwerk/test/unit/head_servers.js currently holds the implementation for NodeHTTPServers that can be used in xpcshell-tests.
These servers are more feature-complete than httpd.js and even than moz-http2.js, so it would be better to convert them into a sys.mjs module so they can be used in other xpcshell-tests too, not just netwerk.

Additionally, it would be good to update the docs in order to document this test infrastructure and how it's designed.

Assignee: nobody → valentin.gosu
Status: NEW → ASSIGNED
Pushed by valentin.gosu@gmail.com: https://github.com/mozilla-firefox/firefox/commit/b60613a88940 https://hg.mozilla.org/integration/autoland/rev/7160fc098e82 Convert head_servers.js into a sys.mjs module so it's available to all xpcshell-tests r=necko-reviewers,kershaw https://github.com/mozilla-firefox/firefox/commit/f07a6ea3350a https://hg.mozilla.org/integration/autoland/rev/8cfb11e55cae Make HTTPS node servers automatically add cert to DB r=necko-reviewers,kershaw
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
See Also: → 1989900
See Also: → 1742061
QA Whiteboard: [qa-triage-done-c146/b145]
See Also: → 1995053
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: