diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-03-30 08:18:09 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-03-30 08:18:09 +0200 |
commit | 3bc5d67c982cc4acdc4db2be1c1b517816401d54 (patch) | |
tree | d66b813fe5df2f133d536cf2f13fecc71ad203b7 | |
parent | 61d3be47459f5edf9cee7593da6475263ef30721 (diff) | |
download | UXP-3bc5d67c982cc4acdc4db2be1c1b517816401d54.tar UXP-3bc5d67c982cc4acdc4db2be1c1b517816401d54.tar.gz UXP-3bc5d67c982cc4acdc4db2be1c1b517816401d54.tar.lz UXP-3bc5d67c982cc4acdc4db2be1c1b517816401d54.tar.xz UXP-3bc5d67c982cc4acdc4db2be1c1b517816401d54.zip |
Issue #1280 - Stop requesting HPKP state from within devtools.
-rw-r--r-- | devtools/client/debugger/new/bundle.js | 2 | ||||
-rw-r--r-- | 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."); |