Files
tubestation/toolkit/components/telemetry/hybrid-content
Jan-Erik Rediger 0f10479fe5 Bug 1472228 - Copy event data to be accessible by user content. r=Dexter
Previously accessing the "canUpload" attribute in user code was not
possible, as it was blocked due to security constraints.
By explicitely copying it, the object is accessible in user code and
HybridContentTelemetry correctly reads the attribute.

Unfortunately the tests in
tests/browser/browser_HybridContentTelemetry.js don't have this issue,
as apparently their content process runs with higher privileges.

This change was tested locally to work as expected.

MozReview-Commit-ID: HbNH4wEyOA

Differential Revision: https://phabricator.services.mozilla.com/D1879
2018-07-02 07:44:50 +00:00
..

Hybrid Content Telemetry

This package exports the content library for Mozilla's Hybrid Content Telemetry. Hybrid content telemetry allows authorized Mozilla pages to check whether Firefox data collection is enabled and to submit Telemetry data.

For additional information, see the official documentation.

License

Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.