summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-03-30 08:18:09 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-03-30 08:18:09 +0200
commit64283a62fe588e28995667672f9b9eee2c104be2 (patch)
treed66b813fe5df2f133d536cf2f13fecc71ad203b7 /devtools
parent26e67c14c31fbd8b17d3357d0235be92031f5663 (diff)
downloaduxp-64283a62fe588e28995667672f9b9eee2c104be2.tar.gz
Issue mcp-graveyard/UXP#1280 - Stop requesting HPKP state from within devtools.
Diffstat (limited to 'devtools')
-rw-r--r--devtools/client/debugger/new/bundle.js2
-rw-r--r--devtools/shared/webconsole/network-helper.js3
2 files changed, 3 insertions, 2 deletions
diff --git a/devtools/client/debugger/new/bundle.js b/devtools/client/debugger/new/bundle.js
index cbbd15a44b..4200ed275b 100644
--- a/devtools/client/debugger/new/bundle.js
+++ b/devtools/client/debugger/new/bundle.js
@@ -9828,7 +9828,7 @@ var Debugger =
var host = httpActivity.hostname;
info.hsts = sss.isSecureHost(sss.HEADER_HSTS, host, flags);
- info.hpkp = sss.isSecureHost(sss.HEADER_HPKP, host, flags);
+ info.hpkp = false;
} else {
DevToolsUtils.reportException("NetworkHelper.parseSecurityInfo", "Could not get HSTS/HPKP status as hostname is not available.");
info.hsts = false;
diff --git a/devtools/shared/webconsole/network-helper.js b/devtools/shared/webconsole/network-helper.js
index 4e25fac260..71909221e3 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.");