diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-14 12:17:00 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-14 12:17:00 +0100 |
commit | f4cc93fc9ee9059c44bb9bc28266b01397ede4a3 (patch) | |
tree | 617a6230d01f2d4100b88eb67ed0dd0df66322ed /security/manager/ssl/tests/unit/test_pinning.js | |
parent | d5a604bb8900875baec73b80554f7d1e540028af (diff) | |
download | UXP-f4cc93fc9ee9059c44bb9bc28266b01397ede4a3.tar UXP-f4cc93fc9ee9059c44bb9bc28266b01397ede4a3.tar.gz UXP-f4cc93fc9ee9059c44bb9bc28266b01397ede4a3.tar.lz UXP-f4cc93fc9ee9059c44bb9bc28266b01397ede4a3.tar.xz UXP-f4cc93fc9ee9059c44bb9bc28266b01397ede4a3.zip |
Issue #1289 - Part 3: Update tests.
Diffstat (limited to 'security/manager/ssl/tests/unit/test_pinning.js')
-rw-r--r-- | security/manager/ssl/tests/unit/test_pinning.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/manager/ssl/tests/unit/test_pinning.js b/security/manager/ssl/tests/unit/test_pinning.js index 4d3c2fac8..f18182002 100644 --- a/security/manager/ssl/tests/unit/test_pinning.js +++ b/security/manager/ssl/tests/unit/test_pinning.js @@ -246,6 +246,9 @@ function check_pinning_telemetry() { } function run_test() { + // Ensure that static pinning works when HPKP is disabled. + Services.prefs.setBoolPref("security.cert_pinning.hpkp.enabled", false); + add_tls_server_setup("BadCertServer", "bad_certs"); // Add a user-specified trust anchor. |