Commit Graph

269 Commits

Author SHA1 Message Date
Chris H-C
00544c4087 bug 1470493 - Render "event" ping events in about:telemetry r=janerik
MozReview-Commit-ID: 8U54Cs6obOs

Differential Revision: https://phabricator.services.mozilla.com/D1882
2018-07-02 08:55:12 +00:00
Chris H-C
d09d07021f bug 1460595 - Remove events from main pings and, thus, TelemetrySession r=Dexter
This requires we take unsent event records out of about:telemetry since its
"Current Payload" view only looks at the "main" ping.

MozReview-Commit-ID: GLs2EYvFaAF
2018-06-06 11:05:29 -04:00
Doug Thayer
35bd3f0b0d Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika
Fairly straightforward, just a blanket removal. Haven't heard
anything on dev-platform or fx-data-dev regarding this removal,
so I think it's likely safe to remove on Nightly, and we can
revert if anyone makes a fuss.

As part of removing the HangMonitor, I renamed a few things and
reorganized the namespaces to not depend on a HangMonitor
namespace. Hopefully this doesn't produce too much noise in the
diff, it just seemed appropriate to move everything around
rather than keep dangling vestiges of the old system.

MozReview-Commit-ID: 8C8NFnOP5GU
2018-04-29 18:21:20 -07:00
Cosmin Sabou
65e12679b2 Backed out changeset 531593bacc4e (bug 1448040) for Android build bustages on HangAnnotations.h. CLOSED TREE 2018-06-07 19:22:31 +03:00
Doug Thayer
9710c4d367 Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika
Fairly straightforward, just a blanket removal. Haven't heard
anything on dev-platform or fx-data-dev regarding this removal,
so I think it's likely safe to remove on Nightly, and we can
revert if anyone makes a fuss.

As part of removing the HangMonitor, I renamed a few things and
reorganized the namespaces to not depend on a HangMonitor
namespace. Hopefully this doesn't produce too much noise in the
diff, it just seemed appropriate to move everything around
rather than keep dangling vestiges of the old system.

MozReview-Commit-ID: 8C8NFnOP5GU
2018-04-29 18:21:20 -07:00
Jan-Erik Rediger
d3fa725ac6 Bug 1467232 - Ensure ping explanation is formatted correctly. r=Dexter
The "pingDetails" explanation takes only 2 arguments: a link and the name of the ping to be displayed.

MozReview-Commit-ID: CxLnHb73YGu
2018-06-07 13:01:51 +02:00
Jan-Erik Rediger
659abcf051 Bug 1467232 - Clear the explanation text first, before adding any changed text. r=Dexter
MozReview-Commit-ID: Po12SIQdZm
2018-06-07 13:01:09 +02:00
Dorel Luca
c84bdccc19 Backed out changeset da12c077747f (bug 1448040) for Android build bustage on build/src/obj-firefox/dist/include/mozilla/HangAnnotations.h. CLOSED TREE 2018-05-25 20:13:26 +03:00
Doug Thayer
c6c9d870ab Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika
Fairly straightforward, just a blanket removal. Haven't heard
anything on dev-platform or fx-data-dev regarding this removal,
so I think it's likely safe to remove on Nightly, and we can
revert if anyone makes a fuss.

As part of removing the HangMonitor, I renamed a few things and
reorganized the namespaces to not depend on a HangMonitor
namespace. Hopefully this doesn't produce too much noise in the
diff, it just seemed appropriate to move everything around
rather than keep dangling vestiges of the old system.

MozReview-Commit-ID: 8C8NFnOP5GU
2018-04-29 18:21:20 -07:00
Prathiksha
b9385fae9b Bug 1436047 - Remove innerHTML from aboutTelemetry.js. r=johannh
MozReview-Commit-ID: DafYMJWh08m
2018-04-24 20:38:11 +05:30
Jan-Erik Rediger
bb3d1d8b76 Bug 1452935 - Remove empty addons.activeExperiment r=gfritzsche
MozReview-Commit-ID: 2CE6RscQjRV
2018-04-17 08:23:00 +03:00
Jan-Erik Rediger
3d90585a80 Bug 1443615 - Remove legacy Telemetry component TelemetryLog. r=chutten 2018-04-09 01:46:00 -04:00
Jan-Erik Rediger
0da631208c Bug 1443600 - Remove legacy Telemetry component childPayloads r=chutten 2018-04-04 08:06:00 +03:00
Apoorv Goel
de3aee47d3 Bug 1436717 - Replace symbolapi.mozilla.org with symbols.mozilla.org. r=chutten 2018-02-10 01:51:18 +05:30
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
vprabhu
31582a4b91 Bug 1434299 - Changed href to refer to '#' to display "finger pointer" over the "enabled" link in about:telemetry. r=chutten
MozReview-Commit-ID: FPaZfwNhPfP
2018-02-06 14:53:30 +05:30
Jeremy Lempereur
d6ec61fd47 Bug 1434614 - about:telemetry Allow to navigate the archive with keyboard arrows, r=chutten
The about:telemetry archived ping data selector now handles the Ping Type correctly when navigating with keyboard arrows.

MozReview-Commit-ID: ZRNIlgQNzJ
2018-02-03 16:05:04 +01:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Jeremy Lempereur
5c2cf78ff5 Bug 1432871 - about:telemetry - Fix selected option comparison in the Histograms section r=chutten
Followup on the previous commit, the same pattern occured in the Histograms section.

MozReview-Commit-ID: 41SiI1nBLSm
2018-01-31 15:08:31 +01:00
Jeremy Lempereur
c3bd025e8e Bug 1432871 - about:telemetry - showing the Keyed Histograms category. r=chutten
The "Keyed Histograms" category didn't alway have the "has-data" class although there were some data to display. "option" was compared to a string but it's a dom element, so its value should be compared instead.

MozReview-Commit-ID: 3eC0UPpJaNJ
2018-01-29 21:52:54 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Jeremy Lempereur
b2640c2d93 Bug 1428334 - Navigating on about:telemetry frequently opens data:application/json;base64 tabs r=chutten
Refactored a call to ChromeHangs.render() I forgot while fixing the "Show raw stack data" link (Bug 1427484).

MozReview-Commit-ID: 3Ul1wCRhdxG
2018-01-05 18:05:09 +01:00
Zibi Braniecki
20c66877f9 Bug 1428172 - Align mozIntl with Intl when working with constructors. r=nalexander
MozReview-Commit-ID: 5jGk1jXKkay
2018-01-04 13:01:43 -08:00
Jeremy Lempereur
829d0b46c1 Bug 1395091 - about:telemetry global search should have headings before section results. r=chutten
Put a table heading to each search section in the about:telemetry homepage.

MozReview-Commit-ID: 7DaFjy6lbcq
2018-01-04 00:26:23 +01:00
Jeremy Lempereur
b8df7813c8 Bug 1427484 - Fix about:telemetry "Show raw stack data" button in Browser Hangs section. r=chutten
The "Show raw stack data" button in the Browser Hangs section produced nothing but removing the "Browser Hangs" section from the about:telemetry navigation menu. I looked at the way the Late Writes section works and patched the Chrome Hangs render calls accordingly.

MozReview-Commit-ID: Gq681oVrg90
2017-12-31 17:22:51 +01:00
Jeremy Lempereur
586bb78513 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
2017-12-31 21:20:59 +01:00
Jeremy Lempereur
85e406451d Bug 1413448 - Fix about:telemetry "no data available" overlay in the Browser Hangs section. r=chutten
The search feature in the Browser Hangs section does not work, and a message claiming "Sorry there's no data available in "Browser Hangs" hindered the view of the data. I added the chrome-hangs-section to the search blacklist.

MozReview-Commit-ID: JJ4eb1fSOfg
2017-12-31 21:18:29 +01:00
Mats Palmgren
145b8a6abb Bug 1375114 - Disable selection entirely in the #categories navigation panel. r=chutten
MozReview-Commit-ID: 9mucWUigXSG
2017-11-01 19:20:00 -04:00
Aditya Bharti
b47a1e034e Bug 1414688 - Fix about:telemetry page in RTL locales opens JSON viewer. r=chutten
In RTL locales, the about:telemetry page opened a JSON viewer window because hgram.buckets.reverse()
was being called in RTL mode. Since a refactor tracked in bug 1122480, histograms no longer have a 'buckets' field.
Removing the call to hgram.buckets fixed this bug.
2017-11-16 21:42:03 +05:30
Georg Fritzsche
df1b3391ea Bug 1394196 - Update about:telemetry settings string to new data preference semantics. r=chutten 2017-10-24 04:47:00 -04:00
Sebastian Hengst
12a883852f Backed out changeset 2a0a1c887047 (bug 1394196) for l10n issues. r=backout a=backout
MozReview-Commit-ID: KxdLWrhTs3W
2017-10-24 12:54:23 +02:00
Georg Fritzsche
373ea345c6 Bug 1394196 - Update about:telemetry settings string to new data preference semantics. r=chutten 2017-10-23 11:51:00 -04:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Sebastian Hengst
8bc209c582 Bug 1406787 - Click on currently active ping in start section should open ping picker. r=Dexter
MozReview-Commit-ID: 1riOrN2Oj1P
2017-10-08 21:41:00 +02:00
Ian Moody
98eaaf2942 Bug 1403585 - React to about:telemetry URL hash after data is present. r=chutten
Currently if a subsection (for the environment section) is included in the hash
on load the page breaks, because urlStateRestore ends up calling showSubSection
with no element, which then throws.  Move the urlStateRestore call after the
update.
Also guard against showSubSection receiving an empty argument.

MozReview-Commit-ID: 2bYrEQlHlqN
2017-09-29 18:46:58 +01:00
Vedant Chakravadhanula
751268d7d1 Bug 1396855 - about:telemetry : Added search terms in the URL fragment. r=chutten
Implementation of the search terms in the url fragment was done as concisely as possible(considering the various conditions required, with the underscore when other hash terms are present). To implement search through hashes in URL, the function urlStateRestore() was changed. To make the changes more aesthetic, another function urlSectionRestore() performs the tasks earlier performed by urlStateRestore(), and urlStateRestore() now implements the search parsing and a call to urlSectionRestore().

MozReview-Commit-ID: 9vgjNUpJkQG
2017-09-30 09:07:50 +05:30
Francesco Lodolo (:flod)
f61a349058 Bug 1399511 - Update message displayed when a section has no data in about:telemetry r=chutten
MozReview-Commit-ID: 2Hb4oKKlhG7
2017-09-15 06:53:33 +02:00
Chris H-C
1512599506 bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo
2017-09-12 14:12:55 -04:00
Wes Kocher
0ccaeccd1b Backed out changeset b061a65e51d7 (bug 1399082) for failures in browser_misused_characters_in_strings.js a=backout
MozReview-Commit-ID: 3pIsd3pvXrq
2017-09-13 10:12:19 -07:00
Chris H-C
b3d27ec706 bug 1399082 - about:telemetry l10n fixes r=flod
We were reusing "all sections" in more than one way, which isn't a globally-
permissable language use. Embedding the substring directly takes care of it
while at the same time embedding it within its context.

MozReview-Commit-ID: CTQhFWEajRo
2017-09-12 14:12:55 -04:00
Chris H-C
be37b06912 bug 1396836 - Tidy up about:telemetry search r=Dexter
Search would leave text in the input field when switching categories,
show a 'No search results' message on load, and show a 'No search results'
message in sections without search inputs.

Tidy those cases away.

MozReview-Commit-ID: BbkgIjq8fYD
2017-09-08 15:13:59 -04:00
Sebastian Hengst
a31d701e39 Backed out changeset c6ec5f35710a (bug 1396836) for eslint failures in aboutTelemetry.js. r=backout 2017-09-11 16:50:26 +02:00
Chris H-C
dbf41ca029 bug 1396836 - Tidy up about:telemetry search r=Dexter
Search would leave text in the input field when switching categories,
show a 'No search results' message on load, and show a 'No search results'
message in sections without search inputs.

Tidy those cases away.

MozReview-Commit-ID: BbkgIjq8fYD
2017-09-08 15:13:59 -04:00
Chris H-C
77a34175cc bug 1396894 - Don't error out when rendering normally-structured pings r=Dexter
Acceptably-structured pings should render fine in about:telemetry and not
trigger the panic mode of "Just show them the JSON!" that happens when an
exception is thrown.

Two things caught here:
1: Environment section without addon subsection
2: subsection searches

MozReview-Commit-ID: 3Z0hud23XuD
2017-09-05 14:37:06 -04:00
Sebastian Hengst
ac4808b6f9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: KLssMPhSQ0O
2017-09-06 11:26:13 +02:00
Cosm
5b0201f997 Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten 2017-09-02 22:11:02 +05:30