gecko-dev/testing/xpcshell
Kevin Jacobs c27baf9ddb Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw
This patch enables PSM and Firefox to use TLS 1.3 Encrypted Client Hello (draft -08). Specifically:
  - Compile NSS with NSS_ENABLE_DRAFT_HPKE=1
  - Add ECH "public_name" handling in SSLServerCertVerification.cpp (see: https://tools.ietf.org/html/draft-ietf-tls-esni-08#section-6.3.2)
  - Adds `mIsAcceptedEch` to TransportSecurityInfo, and xpcshell tests for ECH use cases
  - Adds EncryptedClientHelloServer to facilitate the xpcshell tests
  - Un-ifdef Set/GetEchConfigs code in nsNSSIOLayer.cpp. Also reverted the Base64 encoding and decoding, as the data returned from DNS is already decoded (wire-format).

Differential Revision: https://phabricator.services.mozilla.com/D92651
2020-12-04 15:26:17 +00:00
..
dns-packet Bug 1677086 - Parse SvcParamKeyAlpn as defined in spec r=necko-reviewers,valentin 2020-11-17 11:07:03 +00:00
example Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
moz-http2 Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
node-http2 Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato 2019-11-25 10:06:12 +00:00
node-ip
README
dbg-actors.js Bug 1614791 - Rename DebuggerServer to DevToolsServer. r=jdescottes 2020-02-17 10:28:24 +00:00
head.js Bug 1673856 Do not set network.dns.ipv4OnlyDomains when running XPCShell r=valentin,necko-reviewers 2020-10-28 13:50:00 +00:00
mach_commands.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
mach_test_package_commands.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
remotexpcshelltests.py Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw 2020-12-04 15:26:17 +00:00
runxpcshelltests.py Bug 1675016 - Add more test for HTTP3 failure r=necko-reviewers,kershaw 2020-11-11 19:43:43 +00:00
selftest.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
xpcshellcommandline.py Bug 1562642 - Add missing license headers r=mhoye,marionette-reviewers,webdriver-reviewers,perftest-reviewers,tarek 2020-11-17 02:06:54 +00:00

README

Simple xpcshell-based test harness

converted from netwerk/test/unit

Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests
See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness