зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1122507 - Fix the way the new network security tab toggles in the network panel now that we have the allTabs menu. r=past
This commit is contained in:
Родитель
07962e80d1
Коммит
f05d6f0c6d
|
@ -2104,8 +2104,7 @@ NetworkDetailsView.prototype = {
|
||||||
// 2) come from a target that provides security information.
|
// 2) come from a target that provides security information.
|
||||||
let hasSecurityInfo = aData.securityState &&
|
let hasSecurityInfo = aData.securityState &&
|
||||||
aData.securityState !== "insecure";
|
aData.securityState !== "insecure";
|
||||||
|
this.sidebar.toggleTab(hasSecurityInfo, "security-tab", "security-tabpanel");
|
||||||
$("#security-tab").hidden = !hasSecurityInfo;
|
|
||||||
|
|
||||||
// Switch to the "Headers" tabpanel if the "Preview" previously selected
|
// Switch to the "Headers" tabpanel if the "Preview" previously selected
|
||||||
// and this is not an HTML response or "Security" was selected but this
|
// and this is not an HTML response or "Security" was selected but this
|
||||||
|
|
Загрузка…
Ссылка в новой задаче