summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/netmonitor-controller.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-03 17:44:55 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-03 17:44:55 +0100
commit8114b67b64e17482e46c2eaa77dd6a6156130dba (patch)
tree6bc5c58f4e642f3cbd139a5ef6216993e9a195e4 /devtools/client/netmonitor/netmonitor-controller.js
parent28d03f81da77b3841180055d1b728d33a46d28ed (diff)
downloadUXP-8114b67b64e17482e46c2eaa77dd6a6156130dba.tar
UXP-8114b67b64e17482e46c2eaa77dd6a6156130dba.tar.gz
UXP-8114b67b64e17482e46c2eaa77dd6a6156130dba.tar.lz
UXP-8114b67b64e17482e46c2eaa77dd6a6156130dba.tar.xz
UXP-8114b67b64e17482e46c2eaa77dd6a6156130dba.zip
moebius#93: DevTools: Network - DOMContentLoaded and load
Issue #31 Improvements: #34 https://github.com/MoonchildProductions/moebius/pull/93
Diffstat (limited to 'devtools/client/netmonitor/netmonitor-controller.js')
-rw-r--r--devtools/client/netmonitor/netmonitor-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/devtools/client/netmonitor/netmonitor-controller.js b/devtools/client/netmonitor/netmonitor-controller.js
index 739e174fb..939b6e4f5 100644
--- a/devtools/client/netmonitor/netmonitor-controller.js
+++ b/devtools/client/netmonitor/netmonitor-controller.js
@@ -414,6 +414,7 @@ TargetEventsHandler.prototype = {
}
// Clear any accumulated markers.
NetMonitorController.NetworkEventsHandler.clearMarkers();
+ gStore.dispatch(Actions.clearTimingMarkers());
window.emit(EVENTS.TARGET_WILL_NAVIGATE);
break;
@@ -534,6 +535,7 @@ NetworkEventsHandler.prototype = {
_onDocLoadingMarker: function (marker) {
window.emit(EVENTS.TIMELINE_EVENT, marker);
this._markers.push(marker);
+ gStore.dispatch(Actions.addTimingMarker(marker));
},
/**