We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

What causes Error Console to report a TelemetryStopwatch error every few minutes?

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 GilDawson

more options

While debugging my JavaScript code, I find the Error Console very useful. Besides the errors in my code, it also shows error messages about other peoples' code for sites that I have open. This is a little annoying, because I have to click "Clear" each time or else scroll down to see my error messages.

To simplify matters, I closed all tabs and windows except my own window (without tabs) where I'm testing my JavaScript program. All the other error messages disappeared -- except one. This lone leftover message appears every few minutes in PINK (I guess that means it's serious) even when my program's window is the only one open, without any tabs:

Timestamp: 12/14/12 11:47:39 AM Error: TelemetryStopwatch: key "FX_SESSION_RESTORE_COLLECT_DATA_MS" was already initialized Source File: resource://gre/modules/TelemetryStopwatch.jsm Line: 53

I clicked on the Source File (it's blue and underlined in the original) and up popped a source listing of some file from inside the Firefox.app package. Lines 52 and 53 read as follows:

     Cu.reportError("TelemetryStopwatch: key \"" +
                    aHistogram + "\" was already initialized");

Any idea what this is about?

--Gil

While debugging my JavaScript code, I find the Error Console very useful. Besides the errors in my code, it also shows error messages about other peoples' code for sites that I have open. This is a little annoying, because I have to click "Clear" each time or else scroll down to see my error messages. To simplify matters, I closed all tabs and windows except my own window (without tabs) where I'm testing my JavaScript program. All the other error messages disappeared -- except one. This lone leftover message appears every few minutes in PINK (I guess that means it's serious) even when my program's window is the only one open, without any tabs: Timestamp: 12/14/12 11:47:39 AM Error: TelemetryStopwatch: key "FX_SESSION_RESTORE_COLLECT_DATA_MS" was already initialized Source File: resource://gre/modules/TelemetryStopwatch.jsm Line: 53 I clicked on the Source File (it's blue and underlined in the original) and up popped a source listing of some file from inside the Firefox.app package. Lines 52 and 53 read as follows: Cu.reportError("TelemetryStopwatch: key \"" + aHistogram + "\" was already initialized"); Any idea what this is about? --Gil

由 GilDawson 於 修改

被選擇的解決方法

hello gil, usually after a fresh install firefox asks you to help by submitting performance data to mozilla. this is internally dubbed "telemetry", so the error you're seeing is likely linked to this functionality.

according to bug #732874 this will be fixed in the next version of firefox. in case you want to, you can also disable the gathering & submission of performance data in preferences > advanced > general for the moment...

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

hello gil, usually after a fresh install firefox asks you to help by submitting performance data to mozilla. this is internally dubbed "telemetry", so the error you're seeing is likely linked to this functionality.

according to bug #732874 this will be fixed in the next version of firefox. in case you want to, you can also disable the gathering & submission of performance data in preferences > advanced > general for the moment...

more options

Thanks, madperson, for an excellent reply. It seems to be working!

--Gil