Commit Graph

61 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e3009122fa Bug 1048989 - Fix 'useless expression' warnings with MERGED_COMPONENT. r=gps 2014-08-07 21:52:05 -07:00
Wes Kocher
7f46b4f0a4 Backed out changeset 8673477f5fc2 (bug 862563) for Windows mochitest-5 failures 2014-07-11 17:00:08 -07:00
Georg Fritzsche
b6e03c51f8 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
54c4d3b9ae 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
cd3dbd7747 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
c8c5cf6767 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
d78e31bbd3 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
888a277a59 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
7e80df0235 Bug 992363 - Fix a few uncaught async errors in services. r=rnewman 2014-04-07 10:33:56 -04:00
Asaf Romano
5dbae2896b 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
b14e377e09 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
c4e75265bc 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
158e9a5661 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
33263936d0 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
f44c1d0d2f 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
9079fb6bc6 Bug 887580 - Properly export object in profile.jsm and policy.jsm. r=gps 2013-06-26 17:01:45 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gregory Szorc
1a22cf646a Bug 831404 - More attempts to fix intermittent failure; r=orange 2013-08-19 19:22:27 -07:00
Gregory Szorc
145fc21873 Bug 831404 - Increase timer interval to hopefully prevent intermittent failure; r=rnewman 2013-08-19 16:16:35 -07:00
Joey Armstrong
9bdf289b5e Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Gregory Szorc
44ef7a6a67 Bug 873054 - Disable FHR prefs checkbox if pref is locked; r=rnewman 2013-07-02 09:55:34 -07:00
Joey Armstrong
90f5105a37 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Stefan Mirea
fa0e1df968 Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps 2013-06-13 18:36:21 -07:00
Gregory Szorc
cf599037bc 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
f1ea85072a Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps
--HG--
extra : rebase_source : d03cdae978479605df0a7ea728916ba78a272ffb
2013-06-13 18:36:21 -07:00
Joey Armstrong
ad3592a2c7 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1) r=mshal 2013-06-14 14:07:19 -04:00
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Gregory Szorc
ceac8b9cf4 Bug 846133 - Store FHR state in a file; r=rnewman
Preferences aren't robust. So, we're using a file.
2013-05-10 11:04:48 -07:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Nick Alexander
1e840733ac Bug 848519 - Part 3: Replace services-common/preferences.js with gre/modules/Preferences.jsm in imports. r=gavin 2013-04-15 12:45:37 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
ddd38b85f2 Bug 855860 - Preferences to control logging to terminal; r=rnewman 2013-03-28 20:06:05 -07:00
Richard Newman
e5893c2d39 Bug 831404 - Die, timing bug, die. r=trivial 2013-03-27 09:54:46 -07:00
Richard Newman
23455005a9 Bug 831404 - Don't assume that timers run precisely. r=gps 2013-03-26 16:12:06 -07:00
Richard Newman
e58098035d Bug 831404 - Add more logging to try to debug test failures. r=trivial 2013-03-25 18:46:22 -07:00
Richard Newman
f3243ee984 Bug 831404 - Timer slop for: Intermittent services\datareporting\tests\xpcshell\test_policy.js | false == true. r=trivial 2013-03-25 13:10:20 -07:00
Gregory Szorc
330f1756a6 Bug 784841 - Part 18ε: Convert /services; f=Ms2ger rs=ted 2013-02-25 12:47:24 -08:00
Gregory Szorc
98b2f29733 Bug 842393 - Documentation for Firefox Health Report; r=rnewman
DONTBUILD (docs only)
2013-02-18 16:11:50 -08:00
Richard Newman
a56af1c90e Bug 838879 - Part 1: split HealthReporter and AbstractHealthReporter. r=gps 2013-02-13 16:32:45 -08:00
Richard Newman
179f5f6948 Bug 838877 - Change FHR policy handling to permit direct pref modification. r=gps 2013-02-13 16:32:44 -08:00
Gregory Szorc
d87359ad63 Bug 830489 - Delay initializing FHR database on first run; r=rnewman 2013-02-05 20:25:48 -08:00
Gregory Szorc
d5ce67a3e1 Bug 837238 - Record session time in seconds not milliseconds; r=rnewman 2013-02-05 15:22:33 -08:00
Gregory Szorc
4abd66daf7 Bug 838312 - Well-defined API for opting out of FHR data upload; r=rnewman
You should no longer set policy.healthReportUploadEnabled directly.
Instead, call policy.recordHealthReportUploadEnabled(). This will
trigger data deletion as needed.
2013-02-05 13:12:28 -08:00
Gregory Szorc
47a7b14969 Bug 837803 - Part 2: Proper dependencies for DataReportingService.js; r=glandium 2013-02-05 11:12:00 -08:00
Gregory Szorc
a274566b35 Bug 833612 - More robust recording of sessionRestored value; r=rnewman 2013-02-05 10:42:15 -08:00
Phil Ringnalda
62fe566e61 Merge m-c to s-c 2013-02-04 18:12:00 -08:00
Richard Newman
60e8ea8f80 Merge m-c to s-c. 2013-02-03 00:51:21 -08:00