diff options
Diffstat (limited to 'modules/ProcessHangMonitor.jsm')
-rw-r--r-- | modules/ProcessHangMonitor.jsm | 11 |
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(); }, |