Bug 1413448 - Fix about:telemetry "no data available" overlay in the Late Writes section. r=chutten
authorJeremy Lempereur <jeremy.lempereur@gmail.com>
Sun, 31 Dec 2017 21:20:59 +0100
changeset 449352 d4e1ce4601357779d5ca1fa78e4c644b74ca7d46
parent 449351 b3af16adba66d058fddf57e35f5fd91728b7c8e1
child 449353 49699f5a94f66bc84a073d25ae9f0da4d9b376f6
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten
bugs1413448
milestone59.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 1413448 - Fix about:telemetry "no data available" overlay in the Late Writes section. r=chutten The search feature in the Late Writes section does not work, and a message claiming "Sorry there's no data available in "Late Writes" hindered the view of the data. I added the late-writes-section to the search blacklist. MozReview-Commit-ID: 4Fqfh9zhzJZ
toolkit/content/aboutTelemetry.js
--- a/toolkit/content/aboutTelemetry.js
+++ b/toolkit/content/aboutTelemetry.js
@@ -1276,16 +1276,17 @@ var Histogram = {
 
 
 var Search = {
 
   HASH_SEARCH: "search=",
 
   // A list of ids of sections that do not support search.
   blacklist: [
+    "late-writes-section",
     "chrome-hangs-section",
     "raw-payload-section"
   ],
 
   // Pass if: all non-empty array items match (case-sensitive)
   isPassText(subject, filter) {
     for (let item of filter) {
       if (item.length && subject.indexOf(item) < 0) {