From 3f09b298b0d3b737e88115c869af8393a75bfd31 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 30 Mar 2020 08:18:09 +0200 Subject: Issue #1280 - Stop requesting HPKP state from within devtools. --- devtools/client/debugger/new/bundle.js | 2 +- devtools/shared/webconsole/network-helper.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/devtools/client/debugger/new/bundle.js b/devtools/client/debugger/new/bundle.js index cbbd15a44..4200ed275 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 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."); -- cgit v1.2.3