From e99f2dcb694beed681edf114a8dfb52e2c1a691e Mon Sep 17 00:00:00 2001 From: Tooru Fujisawa Date: Fri, 23 Feb 2018 06:24:20 +0900 Subject: [PATCH] Bug 1439471 - Emit EVENTS.TIMELINE_EVENT after adding timing marker. r=Honza --- devtools/client/netmonitor/src/connector/firefox-connector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devtools/client/netmonitor/src/connector/firefox-connector.js b/devtools/client/netmonitor/src/connector/firefox-connector.js index e8843dba368c..bde1baf68e8e 100644 --- a/devtools/client/netmonitor/src/connector/firefox-connector.js +++ b/devtools/client/netmonitor/src/connector/firefox-connector.js @@ -200,8 +200,8 @@ class FirefoxConnector { "dom-interactive" : "dom-complete", time: marker.unixTime / 1000 }; - window.emit(EVENTS.TIMELINE_EVENT, event); this.actions.addTimingMarker(event); + window.emit(EVENTS.TIMELINE_EVENT, event); } /** @@ -212,8 +212,8 @@ class FirefoxConnector { * @param {object} marker */ onDocEvent(type, event) { - window.emit(EVENTS.TIMELINE_EVENT, event); this.actions.addTimingMarker(event); + window.emit(EVENTS.TIMELINE_EVENT, event); } /**