Bug 1204938 - [Metrics] Address issue with user-timing events -- (from bug 1198517). r=janx
authorRuss Nicoletti <rnicoletti@mozilla.com>
Wed, 16 Sep 2015 15:11:23 -0700
changeset 295867 15859b18d22eb42fa922ce6ecb2ea177fe227dc5
parent 295741 11dc79e232110ba6de5179e46dfbda77b52a88c3
child 295868 985c725367d46c1881ba1f79bb1ba6d726d6cf20
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanx
bugs1204938, 1198517
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1204938 - [Metrics] Address issue with user-timing events -- (from bug 1198517). r=janx
b2g/chrome/content/devtools/hud.js
--- a/b2g/chrome/content/devtools/hud.js
+++ b/b2g/chrome/content/devtools/hud.js
@@ -776,18 +776,17 @@ var performanceEntriesWatcher = {
   ],
 
   init(client) {
     this._client = client;
     let setting = 'devtools.telemetry.supported_performance_marks';
     let defaultValue = this._supported.join(',');
 
     SettingsListener.observe(setting, defaultValue, supported => {
-      let value = supported || defaultValue;
-      this._supported = value.split(',');
+      this._supported = supported.split(',');
     });
   },
 
   trackTarget(target) {
     // The performanceEntries watcher doesn't register a metric because
     // currently the metrics generated are not displayed in
     // in the front-end.