diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-03-10 11:11:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-10 11:11:35 +0100 |
commit | e3c30c6a4d9efb9a1218634939eed64bf7bd479e (patch) | |
tree | 7bbd0aae4d46ba743a46be8f40ef8c150157cf18 /devtools/client/netmonitor/netmonitor-controller.js | |
parent | 9e2ba2237f3ead25f6caa0c6838934058f795fa8 (diff) | |
parent | 2f4fa17a5c8eaf44a80c58c524dd27c4229a7eb8 (diff) | |
download | UXP-e3c30c6a4d9efb9a1218634939eed64bf7bd479e.tar UXP-e3c30c6a4d9efb9a1218634939eed64bf7bd479e.tar.gz UXP-e3c30c6a4d9efb9a1218634939eed64bf7bd479e.tar.lz UXP-e3c30c6a4d9efb9a1218634939eed64bf7bd479e.tar.xz UXP-e3c30c6a4d9efb9a1218634939eed64bf7bd479e.zip |
Merge pull request #53 from janekptacijarabaci/devtools_network_markers_1
DOMContentLoaded and load does not work properly; follow up if "devtools.webconsole.persistlog == true"
Diffstat (limited to 'devtools/client/netmonitor/netmonitor-controller.js')
-rw-r--r-- | devtools/client/netmonitor/netmonitor-controller.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/client/netmonitor/netmonitor-controller.js b/devtools/client/netmonitor/netmonitor-controller.js index 939b6e4f5..39bee8570 100644 --- a/devtools/client/netmonitor/netmonitor-controller.js +++ b/devtools/client/netmonitor/netmonitor-controller.js @@ -407,6 +407,9 @@ TargetEventsHandler.prototype = { if (!Services.prefs.getBoolPref("devtools.webconsole.persistlog")) { NetMonitorView.RequestsMenu.reset(); NetMonitorView.Sidebar.toggle(false); + } else { + // If the log is persistent, just clear some informations. + NetMonitorView.RequestsMenu.resetNotPersistent(); } // Switch to the default network traffic inspector view. if (NetMonitorController.getCurrentActivity() == ACTIVITY_TYPE.NONE) { |