Commit graph

1185 commits

Author SHA1 Message Date
Chris H-C
3d3d5460b3 Bug 1547750 - Disable cache smart-sizing in telemetry-tests-client r=raphael
This sometimes introduces an environment change ping when it shouldn't, and
hides that install_addon doesn't actually trigger an environment change.

Depends on D29388

Differential Revision: https://phabricator.services.mozilla.com/D29389

--HG--
extra : moz-landing-system : lando
2019-05-03 17:38:05 +00:00
Chris H-C
e82ea8b5e9 Bug 1547750 - Ensure Environment is init'd before trying to install addon in telemetry-tests-client r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D29388

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:40 +00:00
Geoff Brown
0f0beaf249 Bug 1546553 - Disable some xpcshell tests on Android x86_64; r=jmaher
These tests need to be disabled to get a green run on the Android x86_64
test platform. The failures in toolkit/components/extensions are
concerning and definitely require follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D29843

--HG--
extra : moz-landing-system : lando
2019-05-03 16:50:15 +00:00
Bogdan Tara
f7ff4f47cc Backed out changeset c2f648fbcbf1 (bug 1533861) for test_TelemetryEnvironment.js failures 2019-05-03 06:22:25 +03:00
Sean Feng
f7c6cfd3d0 Bug 1533861 - Add a telemetry to detect disk type r=chutten,froydnj,bdekoz
Differential Revision: https://phabricator.services.mozilla.com/D29383

--HG--
extra : moz-landing-system : lando
2019-05-02 20:43:36 +00:00
Brindusan Cristian
4dd4a41d4e Backed out changeset 9b16812e723e (bug 1547750) for telemetry failes at test_subsession_management.py. 2019-04-29 23:45:51 +03:00
Jan-Erik Rediger
986844dc72 Bug 1545391 - Move ClientID.jsm into Telemetry component r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D29206

--HG--
rename : toolkit/modules/ClientID.jsm => toolkit/components/telemetry/app/ClientID.jsm
rename : toolkit/modules/tests/xpcshell/test_client_id.js => toolkit/components/telemetry/tests/unit/test_client_id.js
extra : moz-landing-system : lando
2019-04-29 15:39:35 +00:00
Chris H-C
6fcaf1a08b Bug 1547750 Disable cache smart sizing for telemetry-tests-client r=raphael
This is because the smart sizer changes a monitored userPref close to
startup, which induces an extra "main" ping (causing tests to fail).

Differential Revision: https://phabricator.services.mozilla.com/D29223

--HG--
extra : moz-landing-system : lando
2019-04-29 18:51:21 +00:00
Jan-Erik Rediger
6cfa928fe9 Bug 1545365 - Track old and new send time to investigate negativ durations r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D28847

--HG--
extra : moz-landing-system : lando
2019-04-26 19:19:16 +00:00
Liang-Heng Chen
808d8be324 Bug 1545604 - Update Origin Telemetry's gOriginList to contain safebrowsing hashes r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D28535

--HG--
extra : moz-landing-system : lando
2019-04-24 15:59:04 +00:00
Raphael Pierzina
7249665e6d Bug 1539874 - Develop an integration test for telemetry subsession management; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D28726

--HG--
extra : moz-landing-system : lando
2019-04-24 20:44:27 +00:00
Ryan Hunt
3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

Differential Revision: https://phabricator.services.mozilla.com/D28132

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Chris H-C
76ed6c6d7c Bug 1536175 - Report whether Headless or not in Telemetry Environment r=janerik
If Firefox is in Headless Mode we expect it to behave rather differently. For
example, I imagine gpu perf metrics will be less than representative. We should
annotate Telemetry pings with whether or not we're operating in headless mode.

Differential Revision: https://phabricator.services.mozilla.com/D26970

--HG--
extra : moz-landing-system : lando
2019-04-22 20:35:05 +00:00
Chris H-C
1b6b21de96 Bug 1545207 - Mock the Search Service region test in Telemetry Client Tests r=raphael
We don't want spurious net connections, so we should mock the result.
In addition, we need to mock it to a specific non-North-American region to
ensure we don't cause an extra change to browser.search.region which may split
the subsession in the middle of our tests.

Differential Revision: https://phabricator.services.mozilla.com/D28059

--HG--
extra : moz-landing-system : lando
2019-04-18 16:38:16 +00:00
Mike de Boer
5d842c0354 Bug 1518545 - Remove the superfluous 'engine-current' Search Service observer topic in favour of 'engine-default'. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27857

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/test_search_engine_current.js => toolkit/components/places/tests/unifiedcomplete/test_search_engine_default.js
extra : moz-landing-system : lando
2019-04-17 09:45:24 +00:00
Felipe Gomes
73bd8a3a10 Bug 1438872 - Document and test TelemetryEnvironment's e10sMultiProcesses. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D27584

--HG--
extra : moz-landing-system : lando
2019-04-16 15:32:28 +00:00
Liang-Heng Chen
b8ea89ee32 Bug 1537659 - import disconnect domains list; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26683

--HG--
extra : moz-landing-system : lando
2019-04-11 22:13:09 +00:00
Dale Harvey
81edbab4a6 Bug 1496075 - Part 2: Telemetry changes to support search extensions. r=chutten,raphael
Differential Revision: https://phabricator.services.mozilla.com/D25245

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:57 +00:00
Geoff Brown
8d88b9a596 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

--HG--
extra : moz-landing-system : lando
2019-04-08 20:58:21 +00:00
Sylvestre Ledru
03fc65347c 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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Jan-Erik Rediger
02ff9a3491 Bug 1539166 - Trigger periodic prio ping once a day r=chutten
Depends on D26152

Differential Revision: https://phabricator.services.mozilla.com/D26153

--HG--
extra : moz-landing-system : lando
2019-04-05 16:17:06 +00:00
Jan-Erik Rediger
bddd7c0344 Bug 1539166 - Trigger periodic ecosystem ping once a day r=chutten
Depends on D26151

Differential Revision: https://phabricator.services.mozilla.com/D26152

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:58 +00:00
Jan-Erik Rediger
e6db11bfe7 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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:17:42 +00:00
Csoregi Natalia
ba58e936bd 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
d1c1878603 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

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe 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

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Chris H-C
df2c8a1191 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

--HG--
extra : moz-landing-system : lando
2019-04-04 13:40:08 +00:00
Ciure Andrei
58c8915ecd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 00:57:38 +03:00
Georg Fritzsche
4ba158ce96 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

--HG--
extra : moz-landing-system : lando
2019-04-03 16:30:00 +00:00
Nathan Froyd
06cc39db2f Bug 1520929 - part 2 - send isWowARM64 through telemetry; r=chutten,data-review=chutten 2019-04-03 04:44:49 -05:00
Clément ALLAIN
923a8c4af8 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

--HG--
extra : moz-landing-system : lando
2019-03-27 19:59:06 +00:00
Chris H-C
926245cf74 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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:50 +00:00
Chris H-C
ac8dd3be53 Bug 1539262 - Test 'unknown origin' support in Origin Telemetry. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25131

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:41 +00:00
Chris H-C
2339f1df9b 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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:31 +00:00
Chris H-C
405ff38f4f Bug 1539262 - Test that Origin Telemetry notifies when it reaches the data limit. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25128

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:25 +00:00
Narcis Beleuzu
46ef3ed81b 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
d443a85cfe 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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:45 +00:00
Chris H-C
ca4c887238 Bug 1539262 - Test 'unknown origin' support in Origin Telemetry. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25131

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:36 +00:00
Chris H-C
ae0ff51e56 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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:21 +00:00
Chris H-C
c2d9dafdb1 Bug 1539262 - Test that Origin Telemetry notifies when it reaches the data limit. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25128

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:12 +00:00
Kris Maglione
a15a869f4f Bug 1525762: Part 2a - Migrate built-in LWTs to static WebExtension themes. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24627

--HG--
rename : browser/base/content/defaultthemes/dark.icon.svg => browser/themes/addons/dark/icon.svg
rename : browser/base/content/defaultthemes/light.icon.svg => browser/themes/addons/light/icon.svg
rename : toolkit/mozapps/extensions/content/default-theme-icon.svg => toolkit/mozapps/extensions/default-theme/icon.svg
extra : rebase_source : a844186d5a113b596c6bb6bdcd49f443e1879ab2
extra : histedit_source : a5b745dcdac9106fe224895d13862b156feb1eb0
2019-02-08 14:18:52 -08:00
Oana Pop Rus
226e6c59d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-28 12:23:56 +02:00
Oana Pop Rus
47e94b5d6e Merge inbound to mozilla-central. a=merge 2019-03-28 12:11:35 +02:00
Mark Banner
dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Chris H-C
bfeaa78b80 Bug 1538276 - Test 'prio' ping. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D24782

--HG--
extra : moz-landing-system : lando
2019-03-27 19:29:56 +00:00
Kris Maglione
dc9f1e38d5 Bug 1525511: Part 5 - Get rid of most LWTManager gunk in tests. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18788

--HG--
extra : rebase_source : d550bfad07edeaae24ec385b2b57d2d9ae0161df
2019-02-05 21:25:21 -08:00
Kris Maglione
592d451aa3 Bug 1525511: Part 4 - Get rid of persona gunk in Telemetry. r=aswan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D18787

--HG--
extra : rebase_source : 556a92d72379ad3070b8cd500b379be20325a8ba
2019-02-06 13:58:53 -08:00
Jan-Erik Rediger
ffd99e653e Bug 1539240 - Slim down os data in environment of ping r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D24957

--HG--
extra : moz-landing-system : lando
2019-03-26 20:03:13 +00:00
Jan-Erik Rediger
589fb6f5fc Bug 1529232 - Enable Ecosystem Telemetry on Nightly r=gfritzsche
Depends on D21521

Differential Revision: https://phabricator.services.mozilla.com/D23293

--HG--
extra : moz-landing-system : lando
2019-03-25 12:58:18 +00:00