Commit Graph

313 Commits

Author SHA1 Message Date
Kris Maglione
0720b18caa Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
Razvan Maries
ef6b72636b Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Kris Maglione
5801b582fd Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Chris H-C
f08614bf32 Bug 1613072 - Only show Late Writes if there are late writes r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D62109
2020-02-10 16:35:20 +00:00
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Apratim
2c30881d4c Update Bug 1562229 - Change current ping to current data in about:telemetry r=chutten,fluent-reviewers,flod
Changed all instances of current ping to current data in aboutTelemetry.ftl file

Differential Revision: https://phabricator.services.mozilla.com/D36721
2019-07-18 16:24:38 +00:00
Victor Porof
3ca308bcdc Bug 1561435 - Format toolkit/content/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36053
2019-07-05 11:14:49 +02:00
Chris H-C
5a1dc6d3ad Bug 1562947 - Snapshot events from all channels' datasets in about:telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D36633
2019-07-02 17:09:39 +00:00
Boris Zbarsky
95de682140 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196
2019-06-11 15:51:51 +00:00
monikamaheshwari
2b51c53943 Bug 1550692 Process subsection headers in about:telemetry should be clear that they're about processes r=chutten,flod
Differential Revision: https://phabricator.services.mozilla.com/D31718
2019-05-23 18:00:50 +00:00
Clément ALLAIN
ff4ca8b0e4 Bug 1437446 : Make probe process choice more visible in about:telemetry r=chutten,flod
- Make process the second level menu of (Scalars, Keyed Scalars, Histograms, Keyed Histograms and Events)
  - Change the process dropdown to be a store dropdown
  - Main store is selected by default
  - Added a label before the store dropdown
  - Refactor a bit the code to avoid lot of duplications

Note: This revision should be way cleaner

Differential Revision: https://phabricator.services.mozilla.com/D29483
2019-05-08 18:56:19 +00:00
Christian Frey
c4d04caedb Bug 1546093 - Fixing typo of about-telemetry-time-stamp-header leading to missing translation in en-US r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28734
2019-04-24 22:35:15 +00:00
Christian Frey
a42346a3dc Bug 1546101 - Fixing argument paramater passed to about-telemetry-settings-explanation to fix release vs pre-release info in about:telemetry r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28730
2019-04-24 22:38:10 +00:00
Avery Berninger
18a5f96a7c Bug 1545052 - Fix broken about:preferences link (Android), r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28169
2019-04-22 20:37:17 +00:00
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