diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-08-20 09:38:08 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-08-20 09:38:08 +0200 |
commit | 8c1d34e31664e34e53f7b75bafe96cbf86cdc23e (patch) | |
tree | 656e3bb8277cb2a22bce33317c21c52ed62a81d8 /mobile | |
parent | f030cc6c05c32bcb6ad4ff2615fba84f4274e75e (diff) | |
download | UXP-8c1d34e31664e34e53f7b75bafe96cbf86cdc23e.tar UXP-8c1d34e31664e34e53f7b75bafe96cbf86cdc23e.tar.gz UXP-8c1d34e31664e34e53f7b75bafe96cbf86cdc23e.tar.lz UXP-8c1d34e31664e34e53f7b75bafe96cbf86cdc23e.tar.xz UXP-8c1d34e31664e34e53f7b75bafe96cbf86cdc23e.zip |
Remove TelemetryStopwatch call sites from mobile components.
Tag #21
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/android/.eslintrc | 1 | ||||
-rw-r--r-- | mobile/android/chrome/content/aboutLogins.js | 1 | ||||
-rw-r--r-- | mobile/android/components/SessionStore.js | 3 |
3 files changed, 0 insertions, 5 deletions
diff --git a/mobile/android/.eslintrc b/mobile/android/.eslintrc index ce106c2d1..db673a6b7 100644 --- a/mobile/android/.eslintrc +++ b/mobile/android/.eslintrc @@ -24,7 +24,6 @@ globals: strings: false Strings: false Task: false - TelemetryStopwatch: false UITelemetry: false UserAgentOverrides: 0 XPCOMUtils: false diff --git a/mobile/android/chrome/content/aboutLogins.js b/mobile/android/chrome/content/aboutLogins.js index 99e2af841..b3d003875 100644 --- a/mobile/android/chrome/content/aboutLogins.js +++ b/mobile/android/chrome/content/aboutLogins.js @@ -8,7 +8,6 @@ Cu.import("resource://services-common/utils.js"); /*global: CommonUtils */ Cu.import("resource://gre/modules/Messaging.jsm"); Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); -Cu.import("resource://gre/modules/TelemetryStopwatch.jsm"); XPCOMUtils.defineLazyGetter(window, "gChromeWin", () => window.QueryInterface(Ci.nsIInterfaceRequestor) diff --git a/mobile/android/components/SessionStore.js b/mobile/android/components/SessionStore.js index 18ac6bf94..a23c52fe3 100644 --- a/mobile/android/components/SessionStore.js +++ b/mobile/android/components/SessionStore.js @@ -16,7 +16,6 @@ XPCOMUtils.defineLazyModuleGetter(this, "Messaging", "resource://gre/modules/Mes XPCOMUtils.defineLazyModuleGetter(this, "PrivateBrowsingUtils", "resource://gre/modules/PrivateBrowsingUtils.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "FormData", "resource://gre/modules/FormData.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "ScrollPosition", "resource://gre/modules/ScrollPosition.jsm"); -XPCOMUtils.defineLazyModuleGetter(this, "TelemetryStopwatch", "resource://gre/modules/TelemetryStopwatch.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "Log", "resource://gre/modules/AndroidLog.jsm", "AndroidLog"); XPCOMUtils.defineLazyModuleGetter(this, "SharedPreferences", "resource://gre/modules/SharedPreferences.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "Utils", "resource://gre/modules/sessionstore/Utils.jsm"); @@ -1053,9 +1052,7 @@ SessionStore.prototype = { * @param aAsync boolelan used to determine the method of saving the state */ _writeFile: function ss_writeFile(aFile, aFileTemp, aData, aAsync) { - TelemetryStopwatch.start("FX_SESSION_RESTORE_SERIALIZE_DATA_MS"); let state = JSON.stringify(aData); - TelemetryStopwatch.finish("FX_SESSION_RESTORE_SERIALIZE_DATA_MS"); // Convert data string to a utf-8 encoded array buffer let buffer = new TextEncoder().encode(state); |