Граф коммитов

51 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 6aff20394a 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 ce6b807848 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 d4f9e0f585 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 4ba80f0f47 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 89d1cbef27 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 dc7ba6c33f Bug 887580 - Properly export object in profile.jsm and policy.jsm. r=gps 2013-06-26 17:01:45 -07:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gregory Szorc 6d11123145 Bug 831404 - More attempts to fix intermittent failure; r=orange 2013-08-19 19:22:27 -07:00
Gregory Szorc 3806d57141 Bug 831404 - Increase timer interval to hopefully prevent intermittent failure; r=rnewman 2013-08-19 16:16:35 -07:00
Joey Armstrong 56ab717da3 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Gregory Szorc b04e74702d Bug 873054 - Disable FHR prefs checkbox if pref is locked; r=rnewman 2013-07-02 09:55:34 -07:00
Joey Armstrong 177893ac53 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Stefan Mirea 773620d4d8 Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps 2013-06-13 18:36:21 -07:00
Gregory Szorc 4639ab1d14 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 fd534fc41a 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 0a0e08cb9c bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1) r=mshal 2013-06-14 14:07:19 -04:00
Gregory Szorc 1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong 26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Gregory Szorc 109a63bc1c 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 321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Nick Alexander 0481627d39 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 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 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 334c0800cf 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 97a77e0d7e Bug 855860 - Preferences to control logging to terminal; r=rnewman 2013-03-28 20:06:05 -07:00
Richard Newman 31167216f6 Bug 831404 - Die, timing bug, die. r=trivial 2013-03-27 09:54:46 -07:00
Richard Newman b123fd10af Bug 831404 - Don't assume that timers run precisely. r=gps 2013-03-26 16:12:06 -07:00
Richard Newman 6306ddfb09 Bug 831404 - Add more logging to try to debug test failures. r=trivial 2013-03-25 18:46:22 -07:00
Richard Newman 247c60f157 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 7755733a85 Bug 784841 - Part 18ε: Convert /services; f=Ms2ger rs=ted 2013-02-25 12:47:24 -08:00
Gregory Szorc 173f54b831 Bug 842393 - Documentation for Firefox Health Report; r=rnewman
DONTBUILD (docs only)
2013-02-18 16:11:50 -08:00
Richard Newman aa4ba49a96 Bug 838879 - Part 1: split HealthReporter and AbstractHealthReporter. r=gps 2013-02-13 16:32:45 -08:00
Richard Newman 71bfb9882a Bug 838877 - Change FHR policy handling to permit direct pref modification. r=gps 2013-02-13 16:32:44 -08:00
Gregory Szorc a9b05f1f26 Bug 830489 - Delay initializing FHR database on first run; r=rnewman 2013-02-05 20:25:48 -08:00
Gregory Szorc 5842f7b985 Bug 837238 - Record session time in seconds not milliseconds; r=rnewman 2013-02-05 15:22:33 -08:00
Gregory Szorc be8e5d5ca8 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 0f48044a26 Bug 837803 - Part 2: Proper dependencies for DataReportingService.js; r=glandium 2013-02-05 11:12:00 -08:00
Gregory Szorc 3aed819991 Bug 833612 - More robust recording of sessionRestored value; r=rnewman 2013-02-05 10:42:15 -08:00
Phil Ringnalda 2b3d881d7c Merge m-c to s-c 2013-02-04 18:12:00 -08:00
Richard Newman 082460c692 Merge m-c to s-c. 2013-02-03 00:51:21 -08:00
Gregory Szorc 69ace41ee9 Bug 836340 - Increase implicit acceptance interval; r=rnewman
The new value comes from Tom in Privacy.
2013-01-31 08:53:38 -08:00
Ehsan Akhgari 395197733f Merge mozilla-cental into mozilla-inbound 2013-01-31 11:10:40 -05:00
Gregory Szorc 5758dc5c47 Bug 836177 - Temporarily merge more JSMs to mitigate compartment overhead; r=rnewman
As with bug 834936, this is meant to be temporary until zones land and
we have decent JSM overhead levels.
2013-01-30 07:07:22 -08:00
Gregory Szorc 95d334535a Bug 834936 - Temporarily load JSMs into fewer compartments; r=rnewman
We concatenate JSMs together so we use less compartments and therefore
less memory. This is intended to be a temporary hack until the overhead
of compartments is less.
2013-01-27 11:26:48 -08:00
Richard Newman a4a11eefa2 Bug 831404 - Add logging to test_policy.js. r=trivial,test-only 2013-01-30 20:07:34 -08:00
Richard Newman 79b3dbdd93 Bug 834159 - Minor doc bugs in FHR. r=gps 2013-01-24 11:10:18 -08:00
Gregory Szorc a5c78091d3 Bug 827157 - Robust and performance sensitive recording of sessions; r=rnewman
We have introduced a new background service that captures session state
in preferences. Firefox Health Report now moves entries from preferences
to its database at payload generation time.

We've also introduced a few random APIs, such as enqueueTransaction()
and the ability for providers to have access to their own pref branch.
2013-01-18 22:35:07 -08:00
Gregory Szorc d265e9b521 Bug 828149 - Cancel timer during application shutdown. r=rnewman 2013-01-14 18:01:53 -08:00
Gregory Szorc 240a50e00b Bug 828829 - Remove dump() from DataReportingService.js; r=trivial 2013-01-11 23:34:57 -08:00
Gregory Szorc 57f274b2a8 Bug 828829 - Refactor Health Report policy out of services/healthreport; r=rnewman
--HG--
rename : services/healthreport/HealthReportService.js => services/datareporting/DataReportingService.js
rename : services/healthreport/modules-testing/mocks.jsm => services/datareporting/modules-testing/mocks.jsm
rename : services/healthreport/policy.jsm => services/datareporting/policy.jsm
rename : services/healthreport/tests/xpcshell/test_policy.js => services/datareporting/tests/xpcshell/test_policy.js
extra : rebase_source : cf766bc99ff843f2d31f82b1c4be71313fbc65a8
2013-01-11 13:45:22 -08:00