зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1197966 - Fix typo when releasing content-side probes in PerformanceStats-content.js. r=felipe
This commit is contained in:
Родитель
e1d9e156b5
Коммит
33282a3867
|
@ -79,8 +79,9 @@ Services.cpmm.addMessageListener("performance-stats-service-release", function(m
|
|||
if (!isContent) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Keep only the probes that do not appear in the payload
|
||||
let probes = gMonitor.getProbeNames
|
||||
let probes = gMonitor.probeNames
|
||||
.filter(x => msg.data.payload.indexOf(x) == -1);
|
||||
gMonitor = PerformanceStats.getMonitor(probes);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче