Commit Graph

4038 Commits

Author SHA1 Message Date
dagasatvik
91d42b2553 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg
2017-08-07 23:57:51 +05:30
Henry Chang
325a9e1bb5 Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois
MozReview-Commit-ID: KDAklsznekw
2017-08-02 14:01:44 +08:00
Sebastian Hengst
8c96c22f75 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Doug Thayer
42d726322a Bug 1385396 - Cache early setExperimentActive calls r=gfritzsche
Calling setExperimentActive too early during startup can change
the order of some initialization. setExperimentActive probably
shouldn't have this kind of effect, so simply cache early calls
to it until gGlobalEnvironment has been initialized through other
functions.

Additionally, I am speculatively including work to ensure that
setExperimentInactive and getActiveExperiments have the same
behavior, while remaining correct by working from the same cache
that setExperimentActive uses.

MozReview-Commit-ID: IlzT1J0o6gK
2017-08-02 15:10:34 -07:00
Sebastian Hengst
e5a6ff5037 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Georg Fritzsche
32ef5ba3ce Bug 1302681 - Part 3: Update documentation to cover dynamic events. r=dexter 2017-07-27 07:19:00 -04:00
Georg Fritzsche
9385f14125 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.
2017-08-03 07:03:00 -04:00
Kate Ustiuzhanina
c5e7ca3c41 Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche 2017-08-04 10:11:38 +01:00
JerryShih
1d02e108f4 Bug 1368531 - Put the task gfxPlatformFontList::InitOtherFamilyNames() into idle queue. r=jfkthame
Add a boolean value in FindFamily() to check if gecko needs to defer the
InitOtherFamilyNames() task into idle queue.

Add a new telemetry data FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING for the
execution time of InitOtherFamilyNames() running regularly at main thread
instead of in idle queue.

MozReview-Commit-ID: A3YPDcHtXrX
2017-08-02 20:33:00 -04:00
steveck-chung
bb0f61d5b2 Bug 1387004 - Part 2: Record credit card enable state in TelemetryEnvironment. r=francois
MozReview-Commit-ID: EffoAFq8mc8
2017-08-03 18:29:47 +08:00
Wes Kocher
8ad489263c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Sebastian Hengst
9963c31b36 Backed out changeset e1d538cd1cf8 (bug 1368531) for bustage on Windows: 'gfxPlatformFontList::InitOtherFamilyNamesRunnable::Cancel': overriding virtual function differs from 'mozilla::CancelableRunnable::Cancel' only by calling convention. r=backout 2017-08-02 21:12:51 +02:00
Kate Ustiuzhanina
e616ddc4b1 Bug 1385931 - Add send failures types to documentation. r=gfritzsche 2017-08-02 11:54:37 +01:00
JerryShih
079b03e13d Bug 1368531 - Put the task gfxPlatformFontList::InitOtherFamilyNames() into idle queue. r=jfkthame
Add a boolean value in FindFamily() to check if gecko needs to defer the
InitOtherFamilyNames() task into idle queue.

Add a new telemetry data FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING for the
execution time of InitOtherFamilyNames() running regularly at main thread
instead of in idle queue.

MozReview-Commit-ID: A3YPDcHtXrX
2017-08-01 01:07:00 -04:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Nicholas Nethercote
c5d67f0fc9 Bug 1384819 (part 1) - Split MozStackWalk(). r=glandium.
MozStackWalk() is different on Windows to the other platforms. It has two extra
arguments, which can be used to walk the stack of a different thread.

This patch makes those differences clearer. Instead of having a single function
and forbidding those two arguments on non-Windows, it removes those arguments
from MozStackWalk, and splits off MozStackWalkThread() which retains them. This
also allows those arguments to have more appropriate types (HANDLE instead of
uintptr_t; CONTEXT* instead of than void*) and names (aContext instead of
aPlatformData).

The patch also removes unnecessary reinterpret_casts for the aClosure argument
at a couple of MozStackWalk() callsites.
2017-07-27 12:46:47 +10:00
Dean
deb71c0ef5 Bug 1381470 - Added a less memory consuming method to tell if a histogram is empty. r=chutten 2017-07-31 21:38:48 +02:00
Phil Ringnalda
9faf750b95 Backed out changeset 4446ecfee3d7 (bug 1385417) for Win8 permaorange in test_TelemetryHealthPing.js
MozReview-Commit-ID: 9icHWi2MI0M
2017-07-31 22:19:35 -07:00
Wes Kocher
3f50b11fc9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
Wes Kocher
11c90747d8 Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
fbbb4fbe67 Bug 1357517 - Remove unneeded ternary operators to fix eslint failure. r=me 2017-07-31 16:23:15 +02:00
Marco Castelluccio
ce56433409 Bug 1357517 - TelemetrySend crash annotations are controlled by TelemetryEnabled pref on Android, FhrUploadEnabled on other platforms. r=me 2017-07-31 15:53:10 +02:00
Alexandre Poirot
910ca1e1bf Bug 1378863 - Add telemetry probe to track DevTools entry points. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: CvhK7Lvw5oP
2017-07-06 19:34:10 +02:00
Marco Castelluccio
743dd2e0c8 Bug 1357517 - Remove Preferences.jsm usage from some Telemetry files. r=Dexter 2017-07-31 01:32:31 +02:00
Luciano Italiani
7480cc09d7 Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
MozReview-Commit-ID: 4WkNg0YrgHx
2017-07-27 23:01:13 -03:00
Daosheng Mu
b5cb9e8549 Bug 1306156 - Add telemetry for watching MAU and time spent of WebVR users; r=kip
MozReview-Commit-ID: 6v3F6aGdNK7
2017-07-28 18:42:11 +08:00
Marco Castelluccio
3ab0531d75 Bug 1357517 - Disable pref observer TelemetrySend test on platforms where the crash reporter component is not available (like asan). r=me 2017-07-31 19:28:27 +02:00
Anthony Miyaguchi
82f7f5ebb5 Bug 1329227 - Put disqus comment information in Histograms.json descriptions. r=gfritzsche 2017-07-31 13:21:55 -04:00
Kate Ustiuzhanina
4feb80744a Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche 2017-07-31 14:57:33 +01:00
Kate Ustiuzhanina
011abc4bc1 Bug 1374270 - Support sending health ping on shutdown via PingSender. r=Dexter 2017-07-28 15:49:52 +01:00
Sebastian Hengst
1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Wes Kocher
30e589816e Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Wes Kocher
4defdff7be Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
John Dorlus
6d7d5bf821 Bug 1382345 - Use callback in test harness r=chutten
Added callback to testcase.py. Made sure callback is callable.
Added callback in test_main_tab_scalars to be the browser restart.
Added callback in test_ping_server_received_ping to None because no callback is needed.

MozReview-Commit-ID: Jf4YHasCXVg
2017-07-26 14:15:14 -04:00
Ryan VanderMeulen
ee187263c2 No bug - Fix up TelemetryController.jsm no-tabs ESLint failures that came in from the last merge from m-c. r=Dexter on a CLOSED TREE 2017-07-27 09:08:23 -04:00
Carsten "Tomcat" Book
3dfe1c867a merge mozilla-central to autoland 2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book
3fe83e45ea merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Carsten "Tomcat" Book
1c8767ffa0 Backed out changeset f65f933ecdce (bug 1359306) for bustage 2017-07-27 08:22:15 +02:00
Alessio Placitelli
e28100a98c Bug 1120372 - Introduce the "update" ping. r=bsmedberg,gfritzsche,mhowell
This ping will be sent as soon as an update is ready to be applied, after
it's downloaded. This is currently enabled but protected behind the
'toolkit.telemetry.updatePing.enabled' preference.

MozReview-Commit-ID: 4TuM0e5MzBl
2017-07-12 12:12:18 +02:00
Ricky Chien
1542859af4 Bug 1359306 - Implant telemetry probe for search r=liuche,mconley
MozReview-Commit-ID: 8SyW6E8IYt7
2017-07-27 15:06:52 +08:00
Ricky Chien
658b081b80 Bug 1359306 - Implant telemetry probe for search r=liuche,mconley
MozReview-Commit-ID: DoVIQbD92CA
2017-07-20 18:20:00 +08:00
Kate Ustiuzhanina
6158b13314 Bug 1318297 - Add docs. r=liuche 2017-07-24 13:10:25 +01:00
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
Avikalpa Kundu
1b356cea57 Bug 1370489 - Factor out TelemetryIOInterposeObserver from Telemetry.cpp. r=gfritzsche 2017-06-15 17:42:00 -04:00
Carsten "Tomcat" Book
76ba03540c Merge mozilla-central to inbound 2017-07-27 11:27:45 +02:00
Alejandro Rodriguez Salamanca
d43977ba5f Bug 1382196 - Use the prefs defined in TelemetryUtils.jsm in TelemetryReportingPolicy.jsm. r=dexter 2017-07-26 06:30:00 +02:00
Andrew Halberstadt
86f21296a2 Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM
2017-07-26 09:08:07 -04:00
Jim Mathies
9e3493a86a Bug 1382820 - Convert a11y_consumers and a11y_instantiated_flag to opt-out. r=davidb, r=bsmedberg
MozReview-Commit-ID: GTzZVzd7ilg
2017-07-25 09:41:25 -05:00
Carsten "Tomcat" Book
e570da6107 Merge mozilla-central to mozilla-inbound 2017-07-25 14:38:43 +02:00