DOMContentLoaded and load does not work properly if "devtools.webconsole.persistlog == true" - is getting higher

Issue #52
This commit is contained in:
janekptacijarabaci 2018-03-05 20:30:12 +01:00 committed by Roy Tam
commit b8bbffacbe
3 changed files with 20 additions and 9 deletions

View file

@ -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) {