Commit Graph

299 Commits

Author SHA1 Message Date
Trushita
19b14883c7 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

Differential Revision: https://phabricator.services.mozilla.com/D26795
2019-04-09 20:40:26 +00:00
Chris H-C
3627cfd70f Bug 1539257 - Show Origin Telemetry in about:telemetry l10n-r?flod r=janerik,flod
Differential Revision: https://phabricator.services.mozilla.com/D26715
2019-04-09 16:53:09 +00:00
Avery Berninger
3c03a62b01 Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417
2019-04-08 09:15:16 +00:00
Cosmin Sabou
f5fbf6c896 Backed out changeset 7e40ec0c948d (bug 1523741) for telemetry failures on aboutTelemetry.homeSection. 2019-04-06 20:44:55 +03:00
Avery Berninger
d8372c5a0c Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417
2019-04-06 00:54:52 +00:00
Georg Fritzsche
473d24f91c Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS in Telemetry code r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25934
2019-04-03 16:30:00 +00:00
Lawrence
8f45ffb77f Bug 1515009 Deduplicate code for displaying multi-store data in about:telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D20083
2019-02-22 12:30:31 +00:00
Chris H-C
8eff566145 Bug 1527599 - Always show the Events section in about:telemetry for main pings. r=janerik
It can be confusing to have the "Events" section here for some "main" and
"main"-like pings, but not there for others. Keep it around even if there's no
data there to show.

We have a lovely display for "No data here, boss" so we might as well use it.

Differential Revision: https://phabricator.services.mozilla.com/D20564
2019-02-21 11:43:54 +00:00
Jan-Erik Rediger
3639c8c05d Bug 1525521 - Always include the (empty) parent process r=chutten
This ensures the corresponding section is shown for event pings in
about:telemetry, even if there's no actual data for the parent process.
This avoids a bigger rewrite of the logic of what sections and processes to display.

Differential Revision: https://phabricator.services.mozilla.com/D18805
2019-02-06 13:25:59 +00:00
Myk Melez
5ecc2c1225 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526
2019-01-30 17:26:25 +00:00
Kris Maglione
856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08:00
Jan-Erik Rediger
41d78a419b Bug 1519022 - Display rich data for archived event pings r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D17124
2019-01-21 16:16:07 +00:00
Jan-Erik Rediger
0822eb64f4 Bug 1498169 - Render keyed scalar data from multiple stores r=chutten
Depends on D14580

Differential Revision: https://phabricator.services.mozilla.com/D14581
2018-12-18 10:53:04 +00:00
Jan-Erik Rediger
3365f56ea9 Bug 1498169 - Render scalar data from multiple stores r=chutten
Depends on D14579

Differential Revision: https://phabricator.services.mozilla.com/D14580
2018-12-17 20:30:31 +00:00
Jan-Erik Rediger
845a293517 Bug 1498169 - Render keyed histogram data from multiple stores r=chutten
Depends on D14578

Differential Revision: https://phabricator.services.mozilla.com/D14579
2018-12-17 17:05:20 +00:00
Jan-Erik Rediger
40c423f6da Bug 1498169 - Render histogram data from multiple stores r=chutten
Depends on D14577

Differential Revision: https://phabricator.services.mozilla.com/D14578
2018-12-17 16:59:13 +00:00
Jan-Erik Rediger
356f3713aa Bug 1498169 - Fetch data for all available stores r=chutten
Depends on D14576

Differential Revision: https://phabricator.services.mozilla.com/D14577
2018-12-17 16:55:08 +00:00
Chris H-C
091dcab667 bug 1512503 - Instrument about:telemetry for pageloads r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D14266
2018-12-12 17:02:36 +00:00
Dani3lNL
3de3867d85 Bug 1503671 - Add to about:telemetry a link to the Probe Dictionary r=chutten
This may help users discover more about the probes being collected.
2018-11-01 09:06:00 +02:00
Chris H-C
17f2bc4fe6 bug 1476613 - Restore about:telemetry search terms on load r=janerik
MozReview-Commit-ID: 4Vxh6wiceGm

Differential Revision: https://phabricator.services.mozilla.com/D6195
2018-09-19 07:47:54 +00:00
Mark Banner
462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Siddhant
1da0db0646 Bug 1478834 - Remove duplicated import of Preferences module in aboutTelemetry.js r=janerik 2018-07-30 20:26:28 +05:30
Kris Maglione
e97c582e3f Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Kris Maglione
9ba14892f2 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
749f83cc65 Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
6dcf46ad68 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Kris Maglione
86fbdd6653 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG
2018-05-20 18:10:16 -07:00
Jan-Erik Rediger
7327fbfd78 Bug 1472715 - Show actual state of Telemetry upload on about:telemetry r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2029
2018-07-10 11:21:13 +00:00
Margareta Eliza Balazs
a34761936e Backed out changeset d04bd6e1521f (bug 1472715) for ES lint failure in components/telemetry/TelemetrySend.jsm on a CLOSED TREE 2018-07-10 14:15:34 +03:00
Jan-Erik Rediger
23e17cc8b5 Bug 1472715 - Show actual state of Telemetry upload on about:telemetry r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2029
2018-07-10 10:11:36 +00:00
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