summaryrefslogtreecommitdiff
path: root/modules/ProcessHangMonitor.jsm
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2022-05-08 16:42:41 -0400
committerGaming4JC <g4jc@hyperbola.info>2022-05-08 16:42:41 -0400
commit34964f0ea6b83234e47396441ca3b8334dbf0daa (patch)
tree570f0d78d7c2c8b38343a21cfb2e9e3d351f34e5 /modules/ProcessHangMonitor.jsm
parent0e6fd39de109fa1020848fecddb5821501661ca7 (diff)
downloadiceweasel-uxp-34964f0ea6b83234e47396441ca3b8334dbf0daa.tar.gz
Remove telemetry more telemetry references
Diffstat (limited to 'modules/ProcessHangMonitor.jsm')
-rw-r--r--modules/ProcessHangMonitor.jsm11
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/ProcessHangMonitor.jsm b/modules/ProcessHangMonitor.jsm
index 474c7c0..526fcd2 100644
--- a/modules/ProcessHangMonitor.jsm
+++ b/modules/ProcessHangMonitor.jsm
@@ -364,17 +364,6 @@ var ProcessHangMonitor = {
return;
}
- // On e10s this counts slow-script/hanged-plugin notice only once.
- // This code is not reached on non-e10s.
- if (report.hangType == report.SLOW_SCRIPT) {
- // On non-e10s, SLOW_SCRIPT_NOTICE_COUNT is probed at nsGlobalWindow.cpp
- Services.telemetry.getHistogramById("SLOW_SCRIPT_NOTICE_COUNT").add();
- } else if (report.hangType == report.PLUGIN_HANG) {
- // On non-e10s we have sufficient plugin telemetry probes,
- // so PLUGIN_HANG_NOTICE_COUNT is only probed on e10s.
- Services.telemetry.getHistogramById("PLUGIN_HANG_NOTICE_COUNT").add();
- }
-
this._activeReports.add(report);
this.updateWindows();
},