Commit Graph

3050 Commits

Author SHA1 Message Date
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
Richard Newman
42ece10635 Bug 853138 - Follow-up: don't include own prefs file. r=gps 2013-03-21 21:00:05 -07:00
Richard Newman
35554b9efe Bug 853138 - Provide channel-specific provider categories. r=gps 2013-03-21 20:13:56 -07:00
Felipe Gomes
ecb18739fe Bug 850214 - Remove site-specific support from preferences.js as it is unused. r=rnewman 2013-03-29 23:08:59 -03: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
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Bhavana Bajaj
c68f877f73 Merging in version bump NO BUG 2013-04-01 11:28:13 -07:00
Raymond Lee
de3be8a99d Bug 852041 - Part 2: Use BookmarkJSONUtils.exportToFile in services/sync. r=rnewman 2013-04-09 17:15:34 +08:00
Ryan VanderMeulen
95bf443385 Merge the last PGO-green inbound changeset to m-c. 2013-04-15 21:49:22 -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
Nick Alexander
9ecf1e93c1 Bug 848519 - Part 2: Update Makefile.in and test harness. r=gavin 2013-04-15 12:45:33 -07:00
Nick Alexander
055e8d693c Bug 848519 - Part 1: Move files. r=gavin
--HG--
rename : services/common/preferences.js => toolkit/modules/Preferences.jsm
rename : services/common/tests/unit/test_preferences.js => toolkit/modules/tests/xpcshell/test_Preferences.js
2013-04-15 12:45:29 -07:00
Gregory Szorc
b0680e3af5 Merge mozilla-central into inbound
--HG--
extra : rebase_source : f7e38cab743306482aa2e24d3b1fb9fd7e309133
2013-03-19 17:49:19 -07:00
Gregory Szorc
d8b245243d Bug 850450 - Longitudinal recording of build ID in FHR; r=rnewman 2013-03-19 13:03:24 -07:00
Gregory Szorc
305906aa5a Bug 837292 - Part 4: Followup to unbust part 2; r=rnewman 2013-03-19 13:03:07 -07:00
Gregory Szorc
96e86b0f1f Bug 850483 - Record "blocklist enabled" flag in FHR; r=rnewman 2013-03-19 11:18:07 -07:00
Richard Newman
477e2f89dd Bug 837292 - Part 3: Add a TelemetryEnabled flag to FHR. r=gps 2013-03-14 22:00:00 -07:00
Gregory Szorc
47647fca2b Bug 837292 - Part 2: Report new measurement version only; r=rnewman 2013-03-19 11:08:24 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
c18c214c61 Bug 837292 - Part 1: Don't give each provider its own Preferences object; r=rnewman 2013-03-18 20:48:13 -07:00
Gregory Szorc
68098c1f10 Bug 845842 - Use promises that resolve on later ticks; r=rnewman
This is meant as a temporary workaround until a built-in promise library
offers similar functionality.
2013-03-18 20:47:34 -07:00
Gregory Szorc
9e5f5aaf8e Bug 848861 - Send stack traces with FHR errors; r=rnewman, sr=mconnor 2013-03-18 15:07:07 -07:00
Gregory Szorc
7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Gregory Szorc
cb6c364e64 Bug 846083 - Submit an FHR payload after initialization failure; r=rnewman 2013-03-15 21:31:07 -07:00
Gregory Szorc
264e923d17 Bug 845935 - Don't perform FHR activities unless fully initialized; r=rnewman 2013-03-15 21:10:08 -07:00
Gregory Szorc
018a85ed75 Bug 849947 - Flush preferences after FHR document submission; r=glandium, rnewman 2013-03-15 13:19:38 -07:00
Richard Newman
3984f31f93 Merge m-c to s-c. 2013-03-14 15:03:48 -07:00
Richard Newman
076633ca8b Bug 849353 - Add basic app info section to top level of FHR payload. r=gps 2013-03-14 11:24:12 -07:00
Richard Newman
ef13750f5d Bug 851209 - Make exceptionStr robust against null exceptions. r=gps 2013-03-14 11:23:47 -07:00
Gregory Szorc
de55b5242b Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
cd4191e248 Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
0974b5ab5f Bug 845127 - Record Telemetry for wire size of Bagheera documents; r=rnewman 2013-03-13 10:14:41 -07:00
Gregory Szorc
0c50e4584b Bug 841568 - Timer for daily data collection; r=rnewman 2013-03-13 09:34:41 -07:00
Gregory Szorc
60783c1094 Bug 847662 - Part 2: Use try..finally in tests so cleanup always occurs; r=rnewman
This should hopefully fix test hangs in this file (such as those
reported in bug 830201.

--HG--
extra : rebase_source : 362caabd29fac99aa9f97517ae5e30bd6db91e0c
2013-03-07 05:06:58 -08:00
Gregory Szorc
beb634a3c8 Bug 847662 - Part 1: Rename Metrics.Collector -> Metrics.ProviderManager; r=rnewman
--HG--
rename : services/metrics/collector.jsm => services/metrics/providermanager.jsm
rename : services/metrics/tests/xpcshell/test_metrics_collector.js => services/metrics/tests/xpcshell/test_metrics_provider_manager.js
extra : rebase_source : b5d1e1a54adca8c8fb948d18c176c4bfa36ff769
2013-03-07 05:06:46 -08:00
Gregory Szorc
4ccc7f9acf Bug 847662 - Part 3: Move provider management code into provider manager; r=rnewman
--HG--
extra : rebase_source : 7096a6a63143e7e6790ccd498f4b453708baddf5
2013-03-11 14:12:24 -07:00
Gregory Szorc
8ce09edad9 Bug 846843 - Scrub profile directory from error strings; r=rnewman 2013-03-05 10:31:12 -08:00
Ms2ger
8fedd090cc Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
bbaccdd804 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Gregory Szorc
7755733a85 Bug 784841 - Part 18ε: Convert /services; f=Ms2ger rs=ted 2013-02-25 12:47:24 -08:00
Gregory Szorc
7e5ee240a0 Bug 845966 - Detect more errors during FHR initialization; r=rnewman 2013-02-27 16:52:29 -08:00
Gregory Szorc
65f43b0d79 Bug 845431 - Send more errors in FHR payload; r=rnewman 2013-02-27 16:52:26 -08:00
Gregory Szorc
a6dd9c6a11 Bug 843816 - Prevent duplicate recording of sessions in FHR when preference changes are lost; r=rnewman 2013-02-22 16:02:27 -08:00
Gavin Sharp
6a0bfaa745 Remove some unnecessary preprocessing, no bug
--HG--
extra : rebase_source : b8bfed7a5b55652fd8a9b3bf3c601accb8b2022f
2013-02-17 17:49:25 -08:00
Gregory Szorc
ae29dfbac9 Bug 841074 - Statically declare fields on FHR measurements; r=rnewman 2013-02-21 14:11:54 -08:00
Lukas Blakk
96a4d23df2 Merging in version bump NO BUG CLOSED TREE 2013-02-19 09:35:19 -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
Gregory Szorc
49d70bf739 Bug 842370 - Use Tasks for provider collection; r=rnewman 2013-02-18 16:11:43 -08:00
Richard Newman
b3c6dc5d11 Bug 842369 - Profile provider should be robust against stat failure. r=gps 2013-02-18 13:34:51 -08:00
Gregory Szorc
950d7c12f4 Bug 842377 - Rename "constant only" to "pull only"; r=rnewman
The new name better reflects the lazy-init behavior of providers.
2013-02-18 13:05:07 -08:00
Gregory Szorc
938eea3c4d Bug 841244 - More Telemetry probes for Firefox Health Report. r=rnewman,gps,vladan 2013-02-18 12:45:53 -08:00
Richard Newman
c0a743349c Merge m-c to s-c. 2013-02-14 14:33:37 -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
Patrick McManus
0117eecc43 bug 840592 - two tests XPCWrappedJS on wrong thread via JS nsISystemProxySettings implementations r=jduell 2013-02-14 09:32:31 -05:00
Gregory Szorc
89cf5cf08e Bug 828540 - Part 2: APIs to retrieve a registered provider; r=rnewman
--HG--
extra : rebase_source : 0b91c4da3adc153ff102872ce88245bab2c7cf7c
2013-02-12 16:32:45 -08:00
Gregory Szorc
2bc7002ac5 Bug 828540 - Part 1: Health Report provider for recording search counts; r=rnewman
--HG--
extra : rebase_source : e09c4f43a124019333d2b8d4591de34a12351b0f
2013-02-12 16:32:43 -08:00
Ryan VanderMeulen
57dcf876ff Backout 35d48d9d80d5 (bug 752982) for landing without proper review. 2013-02-11 14:33:27 -05:00
Mike Hommey
26e3714874 Bug 755724 - Move browser application in a subdirectory. r=jimm 2013-02-11 14:10:16 +01:00
Gregory Szorc
a7be331dc8 Bug 838227 - Be more intelligent about activating constant-only providers. r=rnewman
This fixes a horrible bug that was preventing FHR from submitting data
for constant-only providers.
2013-02-06 19:26:26 -08:00
Richard Newman
a9430d6624 Merge m-c to s-c. 2013-02-06 19:26:09 -08:00
Marco Bonardo
4f925597b9 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Gregory Szorc
ccc4e1c4a4 Bug 838717 - Import main.js before accessing Weave; r=rnewman 2013-02-06 10:32:00 -08:00
Gregory Szorc
3675b09940 Bug 838291 - More robust APIs for obtaining FHR data; r=rnewman 2013-02-05 20:31:48 -08:00
Gregory Szorc
ec60dda367 Bug 838461 - Improve rest.js interop with FHR; r=rnewman 2013-02-05 20:25:57 -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
6b24292998 Bug 828546 - Part 2: Health Report probe for Places data; r=rnewman 2013-02-05 10:44:33 -08:00
Gregory Szorc
3aed819991 Bug 833612 - More robust recording of sessionRestored value; r=rnewman 2013-02-05 10:42:15 -08:00
Gregory Szorc
5d809d34c0 Bug 838072 - Part 3: Call collectDailyData from FHR; r=rnewman 2013-02-05 09:59:15 -08:00
Gregory Szorc
b80717a014 Bug 838072 - Part 2: Add collectDailyData API to providers; r=rnewman 2013-02-05 09:59:13 -08:00
Gregory Szorc
597564df89 Bug 838072 - Part 1: Refactor data collection internals into function; r=rnewman 2013-02-05 09:59:10 -08:00
Gregory Szorc
0a81b06e9f Bug 837803 - Proper build dependencies for preprocessed FHR files; r=glandium 2013-02-05 09:59:06 -08:00
Phil Ringnalda
2b3d881d7c Merge m-c to s-c 2013-02-04 18:12:00 -08:00
Richard Newman
08095b1df2 Bug 836206 - Split out or rewrite CommonUtils.jsonLoad/jsonSave. r=gps
--HG--
rename : services/common/tests/unit/test_utils_json.js => services/sync/tests/unit/test_utils_json.js
2013-02-03 00:51:26 -08:00
Richard Newman
eab35762ba Bug 836206 - Remove AITC client. r=gps 2013-02-03 00:51:26 -08:00
Richard Newman
082460c692 Merge m-c to s-c. 2013-02-03 00:51:21 -08:00
Gregory Szorc
2b792cce03 Bug 828720 - Telemetry probes for Firefox Health Report; r=rnewman, f=vladan 2013-02-01 13:28:02 -08:00
Gregory Szorc
5d1199412e Bug 836186 - Don't load FHR providers until they are used; r=rnewman 2013-01-31 08:58:19 -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
c47eb8f3a2 Bug 836120 - Reduce memory overhead of Sync when it's not configured; r=rnewman
If Sync is (likely) not configured, the only loaded JS is for the XPCOM
service itself.

The UI code is now smart enough to initialize the Sync service if it
isn't yet loaded. This addresses bug 825728.
2013-01-30 07:05:12 -08:00
Gregory Szorc
c1ef78d2ba Bug 836086 - Lazy load Sync's keys.js; r=rnewman 2013-01-29 16:46:22 -08:00
Ehsan Akhgari
565d0479c3 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05: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
5b8a3228cd Bug 832067 - Discard cached statements in healthreporter. r=gps 2013-01-25 00:39:01 -08:00
Richard Newman
07b6d16e13 Bug 830922 - Include version inside measurement payload. r=gps 2013-01-25 00:32:33 -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
b78783892f Bug 836369 - Intermittent test_history_tracker.js | test failed | true == false. r=trivial,test-only 2013-01-30 15:30:53 -08:00
Richard Newman
79b3dbdd93 Bug 834159 - Minor doc bugs in FHR. r=gps 2013-01-24 11:10:18 -08:00
Shih-Chiang Chien
eede229339 Bug 752982 - Part 1: Implement captive portal detection service. r=thinker 2012-09-15 11:37:53 +08:00
Gregory Szorc
136c8e3904 Bug 827157 - Part 2: report current session information. r=rnewman
The previous patch regressed this because HealthReporter was talking
directly to storage instead of going through the measurement instance.
2013-01-19 00:31:38 -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
Andres Hernandez
3f91b9e564 Bug 739217 - Part 3: services replacement of codebase usage of synchronous isVisited with asynchronous isURIVisited. r=rnewman 2013-01-18 12:01:40 -06:00