зеркало из 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.
|
||||
let hasSecurityInfo = aData.securityState &&
|
||||
aData.securityState !== "insecure";
|
||||
|
||||
$("#security-tab").hidden = !hasSecurityInfo;
|
||||
this.sidebar.toggleTab(hasSecurityInfo, "security-tab", "security-tabpanel");
|
||||
|
||||
// Switch to the "Headers" tabpanel if the "Preview" previously selected
|
||||
// and this is not an HTML response or "Security" was selected but this
|
||||
|
|
Загрузка…
Ссылка в новой задаче