Commit Graph

5887 Commits

Author SHA1 Message Date
Nico Grunbaum
8d97bfde50 Bug 1518609 - Add telemetry to legacy maxRetransmitTime DataChannel param r=jib,janerik
Adds telemetry to the DataChannel init param maxRetransmitTime.

Differential Revision: https://phabricator.services.mozilla.com/D15999
2019-04-11 01:42:51 +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
Michael Froman
27ad290b5e Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj
Originally, RDD reused the GPU process selector since they were
using all the same services, and it reduced the number of places
that had to be touched.  Now that RDD needs pref handling, it
needs its own process selector to avoid GPU inheriting pref
handling.

Differential Revision: https://phabricator.services.mozilla.com/D26566
2019-04-09 21:13:16 +00:00
Vijay Budhram
a103f9f794 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225
2019-04-09 13:30:59 +00:00
Geoff Brown
79469c3bc4 Bug 1318091 - Disable failing android gtests; r=bc
Disable gtests observed to fail on Android. Some of these are simple build
failures and failures due to file permissions or paths, while other failures
are more obscure.
Once Android gtests are running on mozilla-central, I will file follow-up
bugs inviting teams to investigate the failures and re-enable Android gtests
that are important to them.

Differential Revision: https://phabricator.services.mozilla.com/D26606
2019-04-08 20:58:21 +00:00
Chris H-C
f9e2099021 Bug 1527656 - Telemetry.recordEvent should not throw r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D26380
2019-04-08 20:19:03 +00:00
Chris H-C
1d6eb6606d Bug 1521597 - Remove data collection no longer useful r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D26375
2019-04-08 07:27:14 +00:00
Sylvestre Ledru
1666e92b07 Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26280
2019-04-05 21:42:17 +00:00
Jan-Erik Rediger
b156f3fa3b Bug 1539907 - Don't write category labels for histograms when not recorded on target r=chutten
The new histogram is used as a compile-time check.

Differential Revision: https://phabricator.services.mozilla.com/D26330
2019-04-05 17:51:59 +00:00
Jan-Erik Rediger
8e0e45a170 Bug 1539166 - Trigger periodic prio ping once a day r=chutten
Depends on D26152

Differential Revision: https://phabricator.services.mozilla.com/D26153
2019-04-05 16:17:06 +00:00
Jan-Erik Rediger
41011bfd48 Bug 1539166 - Trigger periodic ecosystem ping once a day r=chutten
Depends on D26151

Differential Revision: https://phabricator.services.mozilla.com/D26152
2019-04-05 15:48:58 +00:00
Jan-Erik Rediger
7a7c89cb64 Bug 1539166 - Allow other periodic pings to be sent at regular intervals r=chutten
Depends on D26150

Differential Revision: https://phabricator.services.mozilla.com/D26151
2019-04-05 15:48:56 +00:00
Jan-Erik Rediger
bc48b95010 Bug 1539166 - Simplify daily ping reschedule r=chutten
This is only called on environment-changed pings.
We avoid re-setting the scheduler timeout, so that we can trigger other
pings at regular intervals unrelated to main pings.
This will not cause the daily ping to be sent more often, at worst we
schedule something once too frequently.

Depends on D26149

Differential Revision: https://phabricator.services.mozilla.com/D26150
2019-04-05 15:48:54 +00:00
Jan-Erik Rediger
0a63c169b5 Bug 1539166 - Remove unused variables r=chutten
Depends on D26148

Differential Revision: https://phabricator.services.mozilla.com/D26149
2019-04-05 15:48:52 +00:00
Jan-Erik Rediger
4b237180e6 Bug 1539166 - Remove expired probes from scheduler r=chutten
Depends on D26147

Differential Revision: https://phabricator.services.mozilla.com/D26148
2019-04-05 15:48:50 +00:00
Jan-Erik Rediger
9f0e04ca5e Bug 1539166 - Refactor the session scheduler into its own module r=chutten
This is in preparation for further logic refactoring in later commits.

Differential Revision: https://phabricator.services.mozilla.com/D26147
2019-04-05 16:17:42 +00:00
Csoregi Natalia
2ded4ab36d Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru
ebe9c62d30 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098
2019-04-04 21:36:16 +00:00
Liang-Heng Chen
0b8b0ffa5d Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25135
2019-04-04 21:36:39 +00:00
Narcis Beleuzu
6b9ce2a82b Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru
194039a8d9 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098
2019-04-04 20:12:23 +00:00
Brindusan Cristian
09fc58db9a Backed out 2 changesets (bug 1533363) for build bustages at HttpTrafficAnalyzer.cpp.
Backed out changeset 99636457aa95 (bug 1533363)
Backed out changeset c3488f465c29 (bug 1533363)
2019-04-04 21:13:58 +03:00
Liang-Heng Chen
4a23f188bf Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25135
2019-04-04 17:31:33 +00:00
Chris H-C
948a015f52 Bug 1538245 - Remove test prio data from "main" ping. r=janerik,rhelmer
The Prio pilot project has completed, so we no longer need to add prio-encoded
payloads to the "main" ping.

Differential Revision: https://phabricator.services.mozilla.com/D26004
2019-04-04 13:40:08 +00:00
Ciure Andrei
33798e9722 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 00:57:38 +03: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
Chris H-C
5f589c818d Bug 1540708 Clarify some of the Origin Telemetry docs. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25822
2019-04-03 09:47:34 +00:00
Nathan Froyd
119c30bff4 Bug 1520929 - part 2 - send isWowARM64 through telemetry; r=chutten,data-review=chutten 2019-04-03 04:44:49 -05:00
Clément ALLAIN
dfa8f13670 Bug 1438896 - Add a probe to count Telemetry failures by ping type. r=chutten
Add a new categorical keyed histogram to count failures type by ping type

Differential Revision: https://phabricator.services.mozilla.com/D24945
2019-03-27 19:59:06 +00:00
Chris H-C
e37b47abf4 Bug 1539262 - Support multiple origins in the same metric in Origin Telemetry r=janerik
Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype
must support the possibility that multiple origins will be recorded for the
same metric.

For example, if the user is sampled to record two pageloads where the same
ultra-common tracker is present and blocked we must record that tracker as
having been blocked twice.

This requires a bit of a shift in storage and plaintext snapshot. Instead of
being an array of origins with duplicates, now we're storing origins as a bag
(aka multiset, aka hashtable of origin->count).

Differential Revision: https://phabricator.services.mozilla.com/D25283
2019-04-02 16:58:50 +00:00
Chris H-C
1f4c7eddb9 Bug 1539262 - Test 'unknown origin' support in Origin Telemetry. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25131
2019-04-02 16:58:41 +00:00
Chris H-C
74046c1fa2 Bug 1539262 - Record if Origin Telemetry was used with an unknown origin. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25130
2019-04-02 16:58:39 +00:00
Chris H-C
f19c0e810e Bug 1539262 - Origin Telemetry support for origins lists exceeding PrioEncoder's limit. r=janerik
Content Blocking's list is longer than the largest bool vector size supported
by PrioEncoder, so we need to split the list into shards before encoding.

This means we need to use the metric name and shard number together to identify
the encoding so it's possible to decode it later.

While I'm here, restructure GetEncodedSnapshots to make my life easier when I
eventually try to put the heavy lifting on its own thread. There's a clearer
split now between JS stuff and non-JS stuff.

Differential Revision: https://phabricator.services.mozilla.com/D25129
2019-04-02 16:58:31 +00:00
Chris H-C
6dbdeb0a4a Bug 1539262 - Test that Origin Telemetry notifies when it reaches the data limit. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25128
2019-04-02 16:58:25 +00:00
Chris H-C
8172d4a021 Bug 1539262 - Count the number of prioDatas needed to encode the recorded Origin Telemetry. r=janerik
In order to notify the "prio" ping when we reach the data limit, we need to
keep an accounting of how many prioData elements we'd need to encode what's in
storage.

This also adds the pref reading and topic notification code for the
"origin-telemetry-storage-limit-reached" topic that the "prio" ping observes.

Differential Revision: https://phabricator.services.mozilla.com/D25127
2019-04-02 16:58:17 +00:00
Tim D. Smith
1203d6f8db Bug 1539309 - Collect CHECKERBOARD probes in release and extend collection r=jrmuizel
The CHECKERBOARD probes are used as performance outcomes / diagnostics for WebRender.
We are beginning to test WebRender in release, so we should have these probes available.
This change additionally extends collection through version 73 to be compatible
with the January 2020 horizon for the ongoing nightly/beta WebRender study.

Differential Revision: https://phabricator.services.mozilla.com/D25126
2019-04-01 14:11:22 +00:00
Thomas Wisniewski
32f0ae2b43 Bug 1120171 - remove support for XMLHttpRequest moz-chunked-arraybuffer response type; r=baku
remove support for XMLHttpRequest moz-chunked-arraybuffer response type

Differential Revision: https://phabricator.services.mozilla.com/D25551
2019-04-02 15:16:40 +00:00
Narcis Beleuzu
360e716e9b Backed out 6 changesets (bug 1539262) for causing MinGW-Clang bustages
Backed out changeset 7c940e9caee9 (bug 1539262)
Backed out changeset a2f60534ffdb (bug 1539262)
Backed out changeset 0b750c9fbbdc (bug 1539262)
Backed out changeset c3872bfb8197 (bug 1539262)
Backed out changeset e3c8dbb5cb1d (bug 1539262)
Backed out changeset 43ee3d28167f (bug 1539262)
2019-04-02 16:04:07 +03:00
Chris H-C
378d9d8d6f Bug 1539262 - Support multiple origins in the same metric in Origin Telemetry r=janerik
Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype
must support the possibility that multiple origins will be recorded for the
same metric.

For example, if the user is sampled to record two pageloads where the same
ultra-common tracker is present and blocked we must record that tracker as
having been blocked twice.

This requires a bit of a shift in storage and plaintext snapshot. Instead of
being an array of origins with duplicates, now we're storing origins as a bag
(aka multiset, aka hashtable of origin->count).

Differential Revision: https://phabricator.services.mozilla.com/D25283
2019-04-02 12:37:45 +00:00
Chris H-C
25273dde3e Bug 1539262 - Test 'unknown origin' support in Origin Telemetry. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25131
2019-04-02 12:37:36 +00:00
Chris H-C
116768bc91 Bug 1539262 - Record if Origin Telemetry was used with an unknown origin. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25130
2019-04-02 12:37:28 +00:00
Chris H-C
1eb9c579d6 Bug 1539262 - Origin Telemetry support for origins lists exceeding PrioEncoder's limit. r=janerik
Content Blocking's list is longer than the largest bool vector size supported
by PrioEncoder, so we need to split the list into shards before encoding.

This means we need to use the metric name and shard number together to identify
the encoding so it's possible to decode it later.

While I'm here, restructure GetEncodedSnapshots to make my life easier when I
eventually try to put the heavy lifting on its own thread. There's a clearer
split now between JS stuff and non-JS stuff.

Differential Revision: https://phabricator.services.mozilla.com/D25129
2019-04-02 12:37:21 +00:00
Chris H-C
bb14e67f82 Bug 1539262 - Test that Origin Telemetry notifies when it reaches the data limit. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25128
2019-04-02 12:37:12 +00:00
Chris H-C
cc0bfc79bf Bug 1539262 - Count the number of prioDatas needed to encode the recorded Origin Telemetry. r=janerik
In order to notify the "prio" ping when we reach the data limit, we need to
keep an accounting of how many prioData elements we'd need to encode what's in
storage.

This also adds the pref reading and topic notification code for the
"origin-telemetry-storage-limit-reached" topic that the "prio" ping observes.

Differential Revision: https://phabricator.services.mozilla.com/D25127
2019-04-02 12:37:10 +00:00
Eden Chuang
805df63f08 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330
2019-04-01 22:42:34 +00:00
Mathieu Leplatre
b537bdcb0d Bug 1523313 - Monitor Remote Settings synchronization duration r=glasserc
Monitor Remote Settings synchronization duration

Differential Revision: https://phabricator.services.mozilla.com/D25402
2019-04-01 20:04:25 +00:00
Kris Maglione
708603304f Bug 1525762: Part 2a - Migrate built-in LWTs to static WebExtension themes. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24627
2019-02-08 14:18:52 -08:00
Kris Maglione
23a416950b Bug 1525762: Part 1b - Add databaseReady promise to replace xpi-database-loaded observer. r=aswan
All of the consumers of this observer really want it to behave like a promise.
And, for the cases where the DB may or may not already be loaded when those
callers run, getting the logic correct is difficult.

This patch replaces the observer with a promise, and also delays the
resolution of that promise until any built-in add-ons registered during
XPIProvider startup have finished installing. This latter feature is currently
unused, but will be necessary after subsequent patches for code that relies
querying the default theme immediately after provider startup.
2019-03-22 09:26:33 -07:00
Tom Schuster
d99d3cab3d Bug 1536860 - Telemetry for deprecated Array generics. r=jorendorff datareview=chutten
Differential Revision: https://phabricator.services.mozilla.com/D24208
2019-03-28 17:15:37 +00:00
Mike Conley
163495fbcb Bug 1538987 - Collect Telemetry on process priority switching. data-review=chutten, r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25137
2019-03-28 14:10:34 +00:00