Commit Graph

86 Commits

Author SHA1 Message Date
Kevin Grandon
79f0fe7233 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00
Alessio Placitelli
b49fea80b1 Bug 1208376 - Disable v2 data upload in Firefox 42+. r=gfritzsche 2015-09-25 06:02:00 +02:00
Dave Townsend
f92545710a Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher
27e253a353 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
eda6b245a0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Alessio Placitelli
b101b73f68 Bug 1180790 - Stop resetting the client id on FHR opt-out. r=gfritzsche 2015-07-09 04:47:00 +02:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Alessio Placitelli
d598dd0a99 Bug 1147522 - Move SessionRecorder usage from DRS to TelemetryPing. r=gfritzsche 2015-04-03 05:42:00 -04:00
Alessio Placitelli
7f514af83e Bug 1147522 - Move SessionRecorder to Toolkit/modules. r=gfritzsche 2015-03-26 11:30:00 -04:00
Alessio Placitelli
7accdb027d Bug 1137353 - Make DRS and Telemetry use the ClientID object. r=gfritzsche 2015-04-03 01:54:00 -04:00
Birunthan Mohanathas
b39ac27c28 Bug 1070709 - Collapse test-only moz.build files under services/ into ancestor moz.build files. r=mshal 2015-02-10 18:47:24 +02:00
Avi Halachmi
e86ae5e6e7 Bug 1119959: Fix test_TelemetryPing.js for comm-central and simplify it. r=gfritzsche 2015-01-10 09:52:58 +02:00
Avi Halachmi
b22d2ca58c bug 1106122: Telemetry: Add FHR activeTicks value as simple measurement. r=vladan, r=gfritzsche 2015-01-02 07:28:42 +02:00
Georg Fritzsche
f8160d3279 Bug 1107686 - Remove redundant task cache check in DataReportingService. r=gps 2014-12-08 12:38:20 +01:00
Georg Fritzsche
b5692d6bd4 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-17 17:24:04 +02:00
Carsten "Tomcat" Book
6cd624c0b0 Backed out changeset 5513b60463b8 (bug 1064333) for XPCshell test failures on a CLOSED TREE 2014-10-21 14:38:40 +02:00
Georg Fritzsche
9c59d6d273 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-15 17:34:53 +02:00
Wes Kocher
49a0b204e0 Backed out 4 changesets (bug 1064333) for XPCShell bustage
Backed out changeset 378314f2892c (bug 1064333)
Backed out changeset ccb8a2ac9746 (bug 1064333)
Backed out changeset 3466ed3b9b61 (bug 1064333)
Backed out changeset 553c113c8f4e (bug 1064333)
2014-10-16 13:37:37 -07:00
Georg Fritzsche
680b5dfd34 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-16 20:11:03 +02:00
Carsten "Tomcat" Book
2a3bd940d1 Backed out changeset 735f5c30d397 (bug 1064333) for XPC Bustage on a CLOSED TREE
--HG--
extra : amend_source : 8b12237f285b03acfe6e18cccc9f8480c6d385c2
2014-10-16 15:03:13 +02:00
Georg Fritzsche
d31d93292a Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-15 17:34:53 +02:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Mark Hammond
7bee85b853 Bug 1064137 - fix datareporting service so it doesn't initialize a test's policy object. r=gfritzsche 2014-09-16 09:31:13 +10:00
Nathan Froyd
3a53eb687e Bug 1054476 - move INSTALL_TARGETS in services/ Makefiles to EXTRA_{PP_,}JS_MODULES; r=gps 2014-07-28 15:24:01 -04:00
Georg Fritzsche
231260ed82 Bug 862563 - Remove implicit acceptance for data reporting notification and notify on first run. r=gps
The data reporting notification was over-complicated. It wasn't
displayed for +24hr after first run and it had a weird, non-required
policy around what constituted acceptance of the policy.

The notification is now shown shortly after first startup.

The logic around "notification accepted" has been greatly simplified by
rolling it into "notification shown." Where we once were checking
whether the notification has been "accepted," we now check whether it
has been displayed. The overly complicated logic around the implicit
acceptance of the policy has also been removed.

The end result is the code for managing the state of the notification is
greatly simplified.
2014-07-09 14:32:29 -07:00
Birunthan Mohanathas
f6e1fa1acb Bug 1048989 - Fix 'useless expression' warnings with MERGED_COMPONENT. r=gps 2014-08-07 21:52:05 -07:00
Wes Kocher
0c43bada3a Backed out changeset 8673477f5fc2 (bug 862563) for Windows mochitest-5 failures 2014-07-11 17:00:08 -07:00
Georg Fritzsche
a517f367e0 Bug 862563 - Remove implicit acceptance for data reporting notification and notify on first run; r=gps
The data reporting notification was over-complicated. It wasn't
displayed for +24hr after first run and it had a weird, non-required
policy around what constituted acceptance of the policy.

The notification is now shown shortly after first startup.

The logic around "notification accepted" has been greatly simplified by
rolling it into "notification shown." Where we once were checking
whether the notification has been "accepted," we now check whether it
has been displayed. The overly complicated logic around the implicit
acceptance of the policy has also been removed.

The end result is the code for managing the state of the notification is
greatly simplified.

--HG--
extra : rebase_source : 808efdf1edd103552f6aa10b5c4309b64e514773
extra : amend_source : e4252e6a850a348d1b5aca733121dd07cbc6a70a
extra : histedit_source : 10ec20a07677674a8c9a705a3ffb4dc46a22b890%2Ca9442934d5964f16e9ad1101b786b4d094ac228d
2014-07-09 14:32:29 -07:00
Gregory Szorc
2abc4b387d Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07:00
Gregory Szorc
a8fec952c2 Bug 1033836 - Rename services-common to services/common; rs=rnewman
The upcoming build system patches don't support hypthens in path names.
Changing this for that reason is kind of silly, but it's the easiest
way. Besides, nothing else uses hyphens in directory names.

--HG--
extra : rebase_source : 42dda2b1f16a3c0bfe17397a70092362e400530f
2014-07-02 16:49:36 -07:00
Asaf Romano
be20723336 tests-bustage fix for bug 981689 (the code relies on the current-version preference being always set, which isn't true for testing-prefs-branches) 2014-05-06 11:43:59 +03:00
Asaf Romano
abc4ff83f5 Bug 981689 - Show a notice to beta users when we turn telemetry on by default on the beta channel - Firefox Desktop (very final fix). r=bsmedberg. 2014-05-06 10:15:20 +03:00
Asaf Romano
77e22170a5 Bug 981689 (Show a notice to beta users when we turn telemetry on by default on the beta channel) - For the new channel-override preference, use UpdateChannel.jsm rather than nsIXULRuntime so that it's easier to QA the feature by hacking install.js. As part of that, add a new argument to UpdateChannel.js for excluding partners. r=bsmbedberg. 2014-04-28 17:04:51 +03:00
David Rajchenbach-Teller
047732cf2f Bug 992363 - Fix a few uncaught async errors in services. r=rnewman 2014-04-07 10:33:56 -04:00
Asaf Romano
65fca7cc69 Bug 981689 - Show a notice to beta users when we turn telemetry on by default on the beta channel - Firefox Desktop 2014-04-07 12:26:58 +03:00
Gregory Szorc
7b9cd377df Bug 965587 - Add lock to Firefox Health Report uploading; r=rnewman
Previously, it was technically possible for the FHR client to have
multiple simultaneous uploads. While this should never occur in
well-behaving systems, server logs have indicated that this behavior
might be occurring.

This patch adds a lock around uploading to ensure only 1 upload
operation may be active at a given time.

To measure the impact of this change in the wild, we added a counter
that increments whenever a held lock is encountered.

--HG--
extra : rebase_source : f0bb5065a3618cd335b6b6f31e4e68850f31f151
2014-01-29 15:28:57 -08:00
Gregory Szorc
7602964da6 Bug 939866 - Add Services docs to Sphinx; r=rnewman
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 5e4125ab7faa5493a10db903cf685ee1760f79ec
2013-11-17 19:39:55 -06:00
Gregory Szorc
efb0cd7098 Bug 924307 - More logging and error checking during FHR init; r=rnewman
--HG--
extra : rebase_source : d4d0b29eef195b62d133680edfee6bc541159c5c
extra : amend_source : 2ea9b8576a2d91912c1078fe25969bf52dbd05dd
2013-11-21 09:39:16 -08:00
Gregory Szorc
e84f6d729a Bug 924307 - Intermittent "reporter is null at abouthealth.js:27"; r=rnewman
The error message comes from abouthealth.js not checking if a variable
is null before access. That bug is fixed.

However, the underlying issue of "the reporter is null" still remains.
Logging has been added to hopefully catch issues. The signature of the
failure will change.

--HG--
extra : rebase_source : bc887406a3570a767bae5407b5836314157ac421
extra : amend_source : f22cad2eae46bd08ae25a7d376fbf8e2d1d0ea92
2013-11-20 11:41:08 -08:00
Blair McBride
908c3ef327 Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
Stefan Mirea
7fca2f87e3 Bug 887580 - Properly export object in profile.jsm and policy.jsm. r=gps 2013-06-26 17:01:45 -07:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gregory Szorc
6c8721df14 Bug 831404 - More attempts to fix intermittent failure; r=orange 2013-08-19 19:22:27 -07:00
Gregory Szorc
b9111fa221 Bug 831404 - Increase timer interval to hopefully prevent intermittent failure; r=rnewman 2013-08-19 16:16:35 -07:00
Joey Armstrong
4246f49c03 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Gregory Szorc
22811e33cf Bug 873054 - Disable FHR prefs checkbox if pref is locked; r=rnewman 2013-07-02 09:55:34 -07:00
Joey Armstrong
1156439ca4 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Stefan Mirea
32641334c4 Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps 2013-06-13 18:36:21 -07:00
Gregory Szorc
fa4ba29ffa Backout 9080f6701733 (bug 852411) for hitting weird xpcshell test harness behavior in multiple local builds 2013-06-14 14:38:29 -07:00
Stefan Mirea
c338d6a58e Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps
--HG--
extra : rebase_source : d03cdae978479605df0a7ea728916ba78a272ffb
2013-06-13 18:36:21 -07:00