Closed
Bug 1917573
Opened 10 months ago
Closed 5 months ago
Make it possible to use npm packages in xpcshell tests
Categories
(Core :: Networking: DNS, task, P2)
Core
Networking: DNS
Tracking
()
RESOLVED
FIXED
136 Branch
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: valentin, Assigned: valentin)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
(In reply to John from bug 1914796 comment #0)
STR
- Create new profile
- Set in about:preferences -> “Manual proxy configuration” some SOCKS5 proxy (127.0.0.1:9050 for example)
- Set about:config -> network.http.speculative-parallel-limit; 0 and network.dns.disablePrefetch; true
- Open any site (not loaded before)
We should have a test for this.
It seems we could use the socks5 nodejs library for this test https://github.com/lqqyt2423/node-socks5-server
I think I would prefer us not to vendor the library, but instead have a similar approach to the devtools testing framework
Future enhancements might also apply to H3 with nodejs
Assignee | ||
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Assignee: nobody → valentin.gosu
Attachment #9443431 -
Attachment description: WIP: Bug 1917573 - Add unit_node networking xpcshell tests that use npm packages r=#necko → Bug 1917573 - Add networking xpcshell test that use npm packages r=#necko
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 months ago
|
Summary: Write nodejs test for socks5 proxy → Make it possible to use npm packages in xpcshell tests
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/adb7ca7f42fa
Add networking xpcshell test that use npm packages r=necko-reviewers,jmaher,kershaw
Comment 3•5 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox136:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•