diff --git a/devtools/client/netmonitor/src/components/request-details/SecurityPanel.js b/devtools/client/netmonitor/src/components/SecurityPanel.js similarity index 98% rename from devtools/client/netmonitor/src/components/request-details/SecurityPanel.js rename to devtools/client/netmonitor/src/components/SecurityPanel.js index 69dcf706fb5c..6256cd28cbd3 100644 --- a/devtools/client/netmonitor/src/components/request-details/SecurityPanel.js +++ b/devtools/client/netmonitor/src/components/SecurityPanel.js @@ -19,7 +19,7 @@ const { // Components const TreeViewClass = require("devtools/client/shared/components/tree/TreeView"); const PropertiesView = createFactory( - require("devtools/client/netmonitor/src/components/request-details/PropertiesView") + require("devtools/client/netmonitor/src/components/PropertiesView") ); loader.lazyGetter(this, "Rep", function() { @@ -254,7 +254,7 @@ class SecurityPanel extends Component { } render() { - const { request } = this.props; + const { openLink, request } = this.props; const { securityInfo, url } = request; if (!securityInfo || !url) { @@ -270,6 +270,7 @@ class SecurityPanel extends Component { this.renderValue(props, securityInfo.weaknessReasons), enableFilter: false, expandedNodes: TreeViewClass.getExpandedNodes(object), + openLink, }) ); } diff --git a/devtools/client/netmonitor/src/components/TabboxPanel.js b/devtools/client/netmonitor/src/components/TabboxPanel.js index 311746630bef..d580954a625f 100644 --- a/devtools/client/netmonitor/src/components/TabboxPanel.js +++ b/devtools/client/netmonitor/src/components/TabboxPanel.js @@ -39,7 +39,7 @@ const ResponsePanel = createFactory( require("devtools/client/netmonitor/src/components/ResponsePanel") ); const SecurityPanel = createFactory( - require("devtools/client/netmonitor/src/components/request-details/SecurityPanel") + require("devtools/client/netmonitor/src/components/SecurityPanel") ); const StackTracePanel = createFactory( require("devtools/client/netmonitor/src/components/StackTracePanel") diff --git a/devtools/client/netmonitor/src/components/moz.build b/devtools/client/netmonitor/src/components/moz.build index e7b8d49d087e..01a780beb8cc 100644 --- a/devtools/client/netmonitor/src/components/moz.build +++ b/devtools/client/netmonitor/src/components/moz.build @@ -23,6 +23,7 @@ DevToolsModules( 'NetworkDetailsPanel.js', 'PropertiesView.js', 'ResponsePanel.js', + 'SecurityPanel.js', 'SecurityState.js', 'SourceEditor.js', 'StackTracePanel.js', diff --git a/devtools/client/netmonitor/src/components/request-details/moz.build b/devtools/client/netmonitor/src/components/request-details/moz.build index 061b1ffd229e..ec9c723d3ecf 100644 --- a/devtools/client/netmonitor/src/components/request-details/moz.build +++ b/devtools/client/netmonitor/src/components/request-details/moz.build @@ -6,6 +6,5 @@ DevToolsModules( 'CachePanel.js', 'CookiesPanel.js', 'ParamsPanel.js', - 'PropertiesView.js', - 'SecurityPanel.js', + 'PropertiesView.js' )