Commit Graph

4256 Commits

Author SHA1 Message Date
Mike de Boer
ed65e8c9b2 Bug 1402267 - Add a scalar telemetry probe that tracks SessionFile worker restarts. data-r=liuche, r=chutten,liuche,ttaubert
MozReview-Commit-ID: F3kCfz18kcQ
2017-10-17 12:04:37 +02:00
Kris Maglione
60872d7b31 Bug 1404198: Part 2f - Switch to NS_NewTimer* in toolkit. r=njn
MozReview-Commit-ID: 185rZ99R6zV
2017-10-15 23:14:00 -07:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Brad Werth
78b922b799 Bug 1358299 Part 2: Remove the histogram definition for BOX_ALIGN_PROPS_IN_BLOCKS_FLAG. r=chutten
MozReview-Commit-ID: JGnBmtRkO3C
2017-10-13 12:44:09 -07:00
Alexandre Poirot
7a9b575bdc Bug 1405584 - Add telemetry to track toolbox open time. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: EuaYQBx8rbE
2017-10-11 11:43:25 +02:00
Byron Campen [:bwc]
d432c7b4f9 Bug 1404535: Add telemetry that times nr_ice_gather. r+drno r=chutten,drno,liuche
MozReview-Commit-ID: I4nH8sZNX5g
2017-09-29 17:49:32 -05:00
Chris H-C
64d04edaac bug 1405299 - Do not attempt to upload pings if sending is not yet enabled r=Dexter
TelemetrySend may at any time be notified it can upload. This includes before
when setup() is called. Since setup will attempt to upload when it runs, we can
safely ignore a too-early notify.

MozReview-Commit-ID: 9aeYitCpcIJ
2017-10-11 16:22:14 -04:00
Chris H-C
6eb673a691 bug 1405299 - Key loadArchivedPing's stopwatches for re-entrancy r=Dexter
loadArchivedPing is asynchronous, so it may be re-entrant. Key the stopwatches
against the ping id so it measures what it should and stops complaining.

MozReview-Commit-ID: GdHH5N8B4V7
2017-10-11 12:53:37 -04:00
Sebastian Hengst
cbe95c3c78 Backed out changeset e993235fbdf3 (bug 1405299) for eslint failure at toolkit/components/telemetry/TelemetryStorage.jsm:706: Do not use String as a constructor. r=backout 2017-10-12 15:29:18 +02:00
Sebastian Hengst
aeec385d57 Backed out changeset 506d96e0b240 (bug 1405299) 2017-10-12 15:29:12 +02:00
Chris H-C
0c16d09706 bug 1405299 - Do not attempt to upload pings if sending is not yet enabled r=Dexter
TelemetrySend may at any time be notified it can upload. This includes before
when setup() is called. Since setup will attempt to upload when it runs, we can
safely ignore a too-early notify.

MozReview-Commit-ID: 9aeYitCpcIJ
2017-10-11 16:22:14 -04:00
Chris H-C
4c66a0eb76 bug 1405299 - Key loadArchivedPing's stopwatches for re-entrancy r=Dexter
loadArchivedPing is asynchronous, so it may be re-entrant. Key the stopwatches
against the ping id so it measures what it should and stops complaining.

MozReview-Commit-ID: GdHH5N8B4V7
2017-10-11 12:53:37 -04:00
Ryan VanderMeulen
7496e4294f Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Phil Ringnalda
ab8ea3deab Backed out 2 changesets (bug 870460) for xperf failures
Backed out changeset 50368fa3e040 (bug 870460)
Backed out changeset 5aa7980268cb (bug 870460)

MozReview-Commit-ID: H0rzd5F9dOr
2017-10-11 13:26:34 -07:00
Evan Tseng
a8677c594a Bug 1392951 - Implement telemetry probe for home page setup. r=liuche,mconley
- Send a ping when user type in "Home page" box.
  - String is longer than 4 letters and with at least one ".".
  - String is not deleted after 3 seconds.
- Send a ping when "Use Current Page" is clicked.
- Send a ping when "Use Bookmark" is clicked.
- Send the number of "|" is detected in "Home page" box.

MozReview-Commit-ID: 6bYK0eCkYym
2017-10-06 16:13:05 +08:00
Junior Hsu
543358c407 Bug 870460 - Part 1: Let cookie db startup-read off-main-thread. r=nwgh, r=jdm, data-r=francois 2017-08-29 18:16:27 +08:00
David Anderson
c17bfcaea5 Collect data on how long the main thread blocks on the paint thread. (bug 1386968, r=milan, data_r=francois) 2017-10-10 16:52:24 -07:00
Alessio Placitelli
89cfc87cff Bug 1406097 - Use the cached attribution code in the environment. r=mhowell
This adds a new sync function to AttributionCode.jsm that returns the cached
attribution data. The cached data is then used to populate the environment
instead of relying on the async function.

MozReview-Commit-ID: F0se7kXspo2
2017-10-09 12:03:38 +02:00
Nicholas Nethercote
a35e82f193 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
John Lin
3c1489b289 Bug 1403849 - p3: add telemetry to record tunneled playback support. r=francois,jya
MozReview-Commit-ID: 52HCnvYT56P
2017-09-29 18:12:09 +08:00
Jared Hirsch
b84ab9f85b Bug 1405166 - Update occurrences of system-disabled pref outside screenshots system addon; r=kmag
MozReview-Commit-ID: 24PV53VM6te
2017-10-03 16:26:41 -07:00
Robert Helmer
bc28c1202f Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP
2017-10-02 18:41:20 -07:00
Sebastian Hengst
82ae26fdd0 Backed out changeset fe9b8761d51f (bug 1348981) 2017-10-04 15:43:46 +02:00
Robert Helmer
0202f89685 Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP
2017-10-02 18:41:20 -07:00
Sebastian Hengst
92808dbe0e Backed out changeset 8dda8bbcf385 (bug 1348981) 2017-10-04 01:00:09 +02:00
Wes Kocher
1f45ffa62d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 43R3aNMoMyN
2017-10-03 14:58:01 -07:00
Robert Helmer
1ab3aa8dea Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP
2017-10-02 18:41:20 -07:00
Cervantes Yu
27ff10717a Bug 1400294 - Add 'noShell' attribute to nsIProcess to use CreateProcess() for launching a process that doesn't require shell service on Windows. r=froydnj,r=aklotz,r=dmajor
This adds an attribute 'noShell' to nsIProcess that is used to launch a process
using CreateProcess() if we are sure we are launching an executable and don't
require the extra work of the Windows shell service.

MozReview-Commit-ID: 7p0iHCZK1uX
2017-10-03 11:29:14 +08:00
David Krauser
4a642784d7 Bug 1351274 - Add C++ test coverage for the Categorical Histogram. r=dexter 2017-10-02 19:04:00 +02:00
Wes Kocher
32c77eed4a Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Alessio Placitelli
a46cf822fb Bug 1403978 - Add 'browser.search.widget.inNavBar' to TelemetryEnvironment. r=chutten,data-review=rweiss
MozReview-Commit-ID: 1N0wK6M0bXu
2017-09-29 07:56:00 +02:00
Bryce Van Dyk
ede72c429c Bug 1400757 - Add telemetry to MediaRecorder and TrackEncoder to track basic usage. r=francois,pehrsons
Add telemetry to collect the following:
- Number of times a MediaRecorder is started during a session
- Duration of media recordings
- How often we're timing out init of audio and video track encoders

MozReview-Commit-ID: 9Pc2oKNCH1M
2017-09-19 07:34:02 +12:00
Gijs Kruitbosch
514cadc9cc Bug 1393843 - add telemetry for page action items and the context menu that enables/disables them, data-review=rweiss, r=adw,rweiss+418169
MozReview-Commit-ID: E52TGDLgjCC
2017-09-20 17:32:11 +01:00
Chris Pearce
d3991241c4 Bug 1402825 - Extend life of VIDEO_CAN_CREATE_*_DECODER telemetry to 68. r=francois
The VIDEO_CAN_CREATE_{AAC,H264}_DECODER telemetry expired in 58, but is still
useful I think as a gauge of how support for proprietary formats is changing
over time, and how ubiquitous support is on Windows N and K/N variants. So I
think we should extend its life.

MozReview-Commit-ID: FnnLtcVdqaZ
2017-09-25 12:20:20 +02:00
Alessio Placitelli
fdceb69955 Bug 1395835 - Rename "group" to "category" in the scalar code and docs. r=chutten
MozReview-Commit-ID: HQ3I2cfEaa
2017-09-27 10:12:13 +02:00
Nan Jiang
4a081e9d63 Bug 1399880 - Add telemetry for page metadata size. r=francois,ursula
MozReview-Commit-ID: 5SGAiZlmkMi
2017-09-26 14:13:47 -04:00
Chris H-C
f92123a71c bug 1397293 - Suppress TelemetryStopwatch errors in TelemetrySend tests r=Dexter
MozReview-Commit-ID: 4XkD5Og8kvY
2017-09-26 14:54:00 -04:00
Chris H-C
ba7e148275 bug 1397293 - Test TelemetrySend tooLateToSend r=Dexter
MozReview-Commit-ID: FmqQKEnU9L1
2017-09-26 14:53:15 -04:00
Chris H-C
dd61c8ae83 bug 1397293 - Don't try to send Telemetry after net shutdown r=Dexter
Once networking starts tearing down, our attempts to use XHR to send pings
will fail. This might contibute to high intermittent send failures reported
in the wild. So let's not even try.

But, let's be sure to mention when we decide not to try so we can ensure the
numbers line up before and after.

MozReview-Commit-ID: 71QGM7Xk5oc
2017-09-22 12:28:06 -04:00
Sebastian Hengst
8360facddc merge mozilla-central to autoland. r=merge a=merge 2017-09-27 11:49:57 +02:00
Wes Kocher
0960ec2e95 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Anthony Miyaguchi
e57ef6ccc7 Bug 1402249 - Add the first-session-shutdown document to the TOC. r=Dexter 2017-09-22 11:12:21 -07:00
Gabriele Svelto
5c02427156 Bug 1402966 - Search for libcurl in more paths to support various *BSDs; r=Dexter
MozReview-Commit-ID: J4ykuSVEa0y
2017-09-26 09:35:03 +02:00
Matt Howell
ea6f37b4e7 Bug 1403037 - Don't test attribution data in applications that don't use it. r=Dexter
MozReview-Commit-ID: Giy2ZRlMVa2
2017-09-25 19:39:58 -07:00
Thomas Nguyen
da894bb42f Bug 1351147 - Support ThreatHit requests in SafeBrowsing V4 r=francois
MozReview-Commit-ID: 3ifQtdOTulE
2017-08-24 11:13:12 +08:00
Wes Kocher
8d855f04ce Merge inbound to central, a=merge
MozReview-Commit-ID: 7EzhCCVVn7n
2017-09-25 16:41:34 -07:00
Gabriele Svelto
0f39e0683d Bug 1401339 - Look for libcurl under platform-specific paths; r=Dexter
MozReview-Commit-ID: 6wijqLsar56
2017-09-22 15:06:22 +02:00
Chris Peterson
0a61b3fb68 Bug 870698 - Part 10: Replace Append(NS_LITERAL_STRING("")) with AppendLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: H9I6vNDMdIr
2017-09-07 18:32:54 -07:00
Nils Ohlmeier [:drno]
fe204180d5 Bug 1402221: add Telemetry probe to find out rtcp-mux usage. r=bwc,francois
MozReview-Commit-ID: 1XmPbpSmAb1
2017-09-22 00:09:52 -07:00
Andrea Marchesini
4e031ddf89 Bug 1397151 - Remove the support for moz-chunk-text type in XHR, r=smaug 2017-09-22 07:18:49 +02:00