1
0
Fork 0
firefox/testing/xpcshell/moz-http2
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
http2-cert.key Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
http2-cert.key.keyspec Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
http2-cert.pem Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
http2-cert.pem.certspec Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
moz-http2-child.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
moz-http2.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
package-lock.json Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
package.json Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
proxy-cert.key Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
proxy-cert.key.keyspec Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
proxy-cert.pem Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
proxy-cert.pem.certspec Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

XPCShellTests with npm packages

XPCShellTests that spawn a node server may use non-vendored npm packages. Make sure that the test using the npm packages has usesNPM = true added to xpshell.toml.

Adding a new dependency

  cd testing/xpcshell/moz-http2
  npm install newPackageThatIsPublishedToNPM
  # commit package.json and package-lock.json

Running a test that uses npm packages

Just run it normally. For example

./mach text netwerk/test/unit/test_node_execute_npm.js

runxpcshelltests.py will automatically install the npm packages when one of the tests in the test list has usesNPM = true