Commit Graph

94 Commits

Author SHA1 Message Date
Kate Ustiuzhanina
3af03ea956 Bug 1318297 - Support initial implementation for Health ping. r=gfritzsche
Health ping is supposed to be a small ping for monitoring failures.
Current implementation tracks discarded for size and
send failures.
2017-07-25 16:19:31 +01:00
Alessio Placitelli
0a2700b5f6 Bug 1381490 - Enable sending the shutdown ping with the pingsender on the first session. r=gfritzsche
This will land behind a preference, initially turned off, with the possibility to easily enable it.

MozReview-Commit-ID: InND8Pv35I1
2017-07-26 05:55:00 +02:00
Carsten "Tomcat" Book
5089ce5b5c Backed out changeset 2ceb8a5a3e40 (bug 1318297) for xpcshell failures in test_TelemetryHealthPing.js 2017-07-24 16:16:40 +02:00
Kate Ustiuzhanina
17ad6746e6 Bug 1318297 - Support initial implementation for Health ping. r=gfritzsche
Health ping is supposed to be a small ping for monitoring failures.
Current implementation tracks discarded for size and
send failures.
2017-07-13 13:39:09 +01:00
Andrew Swan
8438182e63 Bug 1358907 Part 3 Avoid reading XPI database at startup r=Dexter,kmag
Switch telemetry and experiments from AddonManager.getAddonsByTypes()
to AddonManager.getActiveAddons() which gives us less detailed information
in the environment during startup but also means we don't need to load the
extensions database until startup is complete.

MozReview-Commit-ID: 4SxdPHSPovB
2017-05-18 13:08:58 -07:00
djmdev
f7e40f9839 Bug 1344295 - Consolidate Telemetry preferences in TelemetryUtils.Preferences. r=dexter
Moved all Preferences declarations to Preferences object in TelemetryUtils.jsm
and used them in the test files.
2017-04-08 11:31:18 +05:30
Alessio Placitelli
76d556b978 Bug 1364068 - Enable the 'new-profile' ping. r=gfritzsche
MozReview-Commit-ID: 6DXa20aCOBr
2017-05-22 12:52:19 +02:00
Sebastian Hengst
05baf7f567 Backed out changeset ad54e4734e9b (bug 1364068) for test suites timing out on Linux x64 opt/pgo and Win 7 VM opt and timeout of browser_addons_debug_webextension.js on OSX. r=backout 2017-05-26 10:45:04 +02:00
Alessio Placitelli
71bced91cf Bug 1364068 - Enable the 'new-profile' ping. r=gfritzsche
MozReview-Commit-ID: 6DXa20aCOBr
2017-05-22 12:52:19 +02:00
Iris Hsiao
4bbfbc5490 Backed out changeset 31a809d5ca1a (bug 1364068) for valgrind bustage 2017-05-23 18:07:38 +08:00
Alessio Placitelli
d0cb521220 Bug 1364068 - Enable the 'new-profile' ping. r=gfritzsche
MozReview-Commit-ID: 6DXa20aCOBr
2017-05-22 12:52:19 +02:00
Mark Banner
ca95cdd557 Bug 1348097 - Fix intermittent failures caused by Experiments.jsm by ensuring the preference monitoring is in sync. r=gfritzsche
Change the ExperimentsService to get the current value of the preferences (since it only uses them once or twice), so that they match the values in Experiments, and avoid differences causing promises to be rejected in the updateManifest call.
Also fix Experiments to correctly re-enable itself when toolkit.telemetry.enabled is changed from false to true (also fixes bug 1232648).
Finally, add a catch for a promise when calling updateManifest so that we don't get an uncaught promise exception.

MozReview-Commit-ID: GD6gfcRSgbx
2017-04-19 12:06:16 +01:00
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Alessio Placitelli
70c97fb2f2 Bug 1354482 - Turn on sending the "shutdown" ping using the pingsender from the second Firefox session. r=chutten,gfritzsche
MozReview-Commit-ID: IEYfziF86mF
2017-04-10 12:51:45 +02:00
Alisha
7fd23886d5 Bug 1346200 - Remove B2G code branches from Telemetry JS modules. r=chutten 2017-03-31 17:55:00 -04:00
Jared Wein
5a181760cc Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Vedant Sareen
386a7693fa Bug 1344744 - Update Telemetry unit tests to async function & await. r=dexter
Replaced |Task.async(function*(...))| with a corresponding form of |async function(...)| and |yield| with |await| in the changed functions.
2017-03-10 00:36:23 +05:30
Gabriele Svelto
7157a7973d Bug 1310703 - Add support for the pingsender to the Telemetry code; r=Dexter
MozReview-Commit-ID: 24I9wrJuFhN
2017-01-17 14:53:00 +01:00
Gabriele Svelto
83cc3c6b65 Bug 1310703 - Use the ID generated by the crashreporter client when sending a crash ping so that server-side deduplication works correctly; r=Dexter
MozReview-Commit-ID: HfyKTru8QgN
2017-01-16 18:17:02 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Mark Banner
ac52569fff Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6
2017-01-09 10:12:26 +00:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Mark Banner
fb8a196639 Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw
2016-12-23 16:00:46 +00:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Kris Maglione
47312ecab3 Bug 1294811: Fix external tests that import head_addons.js. r=rhelmer
MozReview-Commit-ID: EWo7Gv9oSsz
2016-08-16 17:02:44 -07:00
Georg Fritzsche
a511cce9a2 Bug 1285921 - setEmptyPrefWatchList() doesn't wait for TelemetryEnvironment to initialize. r=dexter 2016-07-11 14:31:41 +02:00
Alessio Placitelli
707582c7cf Bug 1233986 - Add test coverage. r=gfritzsche
MozReview-Commit-ID: 1Mi2ogNvy2o
2016-06-27 00:27:00 +02:00
Carsten "Tomcat" Book
4eb53046be Backed out changeset 8f48d2f1fa58 (bug 1233986) 2016-06-27 13:19:09 +02:00
Alessio Placitelli
7f43743d1f Bug 1233986 - Add test coverage. r=gfritzsche
MozReview-Commit-ID: 1Mi2ogNvy2o
2016-06-27 00:27:00 +02:00
Alessio Placitelli
a2524c638b Bug 1275144 - Don't watch for preference changes in XPCSHELL tests. r=gfritzsche 2016-05-25 13:28:00 +02:00
Iaroslav Sheptykin
8f9b0e9093 Bug 1145188: Shifting TelemetrySession init control to TelemetryController (test). r=Dexter 2016-05-13 09:30:00 +02:00
Sebastian Hengst
c0517bed3f Backed out changeset e7570b6d28aa (bug 1145188) 2016-04-29 21:29:13 +02:00
Iaroslav Sheptykin
f57dca332a Bug 1145188: Shifting TelemetrySession init control to TelemetryController (test). r=Dexter 2016-04-26 06:28:00 +02:00
Tooru Fujisawa
412ae0e2a1 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09:00
Robert Helmer
a9828ad3e8 Bug 1232222 - provide telemetry environment data on which addons are system addons r=gfritzsche
MozReview-Commit-ID: 89M0HnzfIrd
2016-02-13 17:51:26 -08:00
Wes Kocher
638663c99e Backed out 2 changesets (bug 1232222) for xpcshell bustage
Backed out changeset 06bc151231a5 (bug 1232222)
Backed out changeset 38ba7c48145e (bug 1232222)
2016-02-05 16:29:00 -08:00
Robert Helmer
e97fdf150a Bug 1232222 - Provide telemetry environment data on which addons are system addons. r=gfritzsche 2016-01-25 14:19:52 -08:00
Alessio Placitelli
2843847b66 Bug 1236580 - Fix the tests and update the documentation. r=gfritzsche 2016-01-27 07:09:00 +01:00
Alessio Placitelli
f0cf6489cf Bug 1234522 - Fix or remove the tests relying on the data reporting service. r=gfritzsche 2016-01-05 06:29:00 +01:00
Dave Townsend
66459b47af Bug 1229519: Fix toolkit/components/telemetry to pass eslint checks. r=gfritzsche 2015-12-03 10:02:02 -08:00
Alessio Placitelli
75b5952485 Bug 1221958 - Make TelemetryController.enableTelemetryRecording pref checks more robust. r=gfritzsche 2015-11-17 07:42:00 +01:00
Henrik Tjäder
400fcaa74e Bug 1209912 - Use JSON.parse instead of nsIJSON.decode in Telemetry tests. r=Dexter 2015-10-07 22:08:20 +02:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00