summaryrefslogtreecommitdiffstats
path: root/devtools/shared/webconsole
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-03-30 08:18:09 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 13:20:22 +0200
commit3f09b298b0d3b737e88115c869af8393a75bfd31 (patch)
tree9637d862edcd141dc95d4b99da3d2a6037e9a1ec /devtools/shared/webconsole
parentc27830f35cc1e8144309865dd4b224de05297522 (diff)
downloadUXP-3f09b298b0d3b737e88115c869af8393a75bfd31.tar
UXP-3f09b298b0d3b737e88115c869af8393a75bfd31.tar.gz
UXP-3f09b298b0d3b737e88115c869af8393a75bfd31.tar.lz
UXP-3f09b298b0d3b737e88115c869af8393a75bfd31.tar.xz
UXP-3f09b298b0d3b737e88115c869af8393a75bfd31.zip
Issue #1280 - Stop requesting HPKP state from within devtools.
Diffstat (limited to 'devtools/shared/webconsole')
-rw-r--r--devtools/shared/webconsole/network-helper.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/shared/webconsole/network-helper.js b/devtools/shared/webconsole/network-helper.js
index 4e25fac26..71909221e 100644
--- a/devtools/shared/webconsole/network-helper.js
+++ b/devtools/shared/webconsole/network-helper.js
@@ -668,7 +668,8 @@ var NetworkHelper = {
let host = httpActivity.hostname;
info.hsts = sss.isSecureHost(sss.HEADER_HSTS, host, flags);
- info.hpkp = sss.isSecureHost(sss.HEADER_HPKP, host, flags);
+ // HPKP is no longer supported.
+ info.hpkp = false;
} else {
DevToolsUtils.reportException("NetworkHelper.parseSecurityInfo",
"Could not get HSTS/HPKP status as hostname is not available.");