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
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
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
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
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
TelemetrySession schedules some activities on idle, to avoid hogging resources.
Sometimes we're forced to handle these situations on a more rigid timeline than
"wait for idle". In those cases we should cancel the idle timeout so it doesn't
double-perform the operations.
Unfortunately idleDispatchToMainThread doesn't have a cancel mechanism, so we
need to bolt one over it.
MozReview-Commit-ID: JpUfb9rK2Od
This patch makes sure |_updateSettings| carries over the attribution code,
if present. Without this patch the whole "environment.settings" section
is replaced and the attribution code disppears after the first environment
change/subsession split.
MozReview-Commit-ID: 8bxjVOl2mUp
Not all of these probes are expiring in 58, but they are all (with the exception
of CONTENT_RESPONSE_DURATION) metrics that might be affected by WebRender, and
so are useful to continue measuring until WebRender is "done". The CONTENT_RESPONSE_DURATION
probe is indicating durations have dropped over the past few releases and it would be
useful to continue to measure this for a few more releases.
MozReview-Commit-ID: CTsOGuMS5f3
Since we don't atomically retrieve session and subsession snapshots, there's
a possibility that off-thread accumulations can happen in between the two
getPayload calls in test_checkSubsessionHistograms.
CYCLE_COLLECTOR_WORKER* are the obvious first choice.
MozReview-Commit-ID: 5lseRAJ1Rg6
Since LinearHistogram and its descendants inherit ranges_ from
Histogram, and we wanted to replace the copying into a std::vec
for Histogram, the simplest approach seemed to just be to
precompute ranges for all histograms, exponential or otherwise.
This should have the added benefit of reducing the memory
footprint for those histograms, since they will benefit from the
deduplication work that the precomputing script already does.
MozReview-Commit-ID: JTV5Dej5ZIb