HomePhabricator

Hygiene: i13n: Return false over not sampling
9303d03ee305Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Hygiene: i13n: Return false over not sampling

Previously, if the browser didn't support the Beacon API, then
instrumentation/eventLogging#isEnabled would bucket the user with a
sampling rate of 0, which is equivalent to returning false. This change
simply does the latter.

Additional changes:

  • Update the documented module names of the instrumentation/eventLogging and statsv modules.

Bug: T168847
Change-Id: I7ae5c10da42ca614b5b1a6619f9555e5665344cf

Details

Provenance
phuedxAuthored on Jul 3 2017, 12:05 PM
Parents
rEPOP4f9ad4d0a77b: Merge "Override eventLogging to enabled when debug flag is on"
Branches
Unknown
Tags
Unknown
References
refs/changes/77/362977/1
ChangeId
I7ae5c10da42ca614b5b1a6619f9555e5665344cf