Bug 1577217 - Enable TelemetryImpl::GetUntrustedModuleLoadEvents in beta. r=aklotz
authorToshihito Kikuchi <tkikuchi@mozilla.com>
Mon, 16 Dec 2019 23:00:28 +0000
changeset 507332 e0cf44dbd7d8196b14b61d78a967735a648a520b
parent 507331 d0dc795680f570add16b2240e74311f46e31b3d8
child 507333 16f90eb0cbf3fad1dd1052ace7b9d0bf88d17a00
push id103366
push useraklotz@mozilla.com
push dateMon, 16 Dec 2019 23:19:06 +0000
treeherderautoland@e0cf44dbd7d8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaklotz
bugs1577217
milestone73.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1577217 - Enable TelemetryImpl::GetUntrustedModuleLoadEvents in beta. r=aklotz To enable the third-party-modules ping in beta, we need to change `TelemetryImpl::GetUntrustedModuleLoadEvents` in addition to https://hg.mozilla.org/mozilla-central/rev/6fc0c2b4b909. Differential Revision: https://phabricator.services.mozilla.com/D57382
toolkit/components/telemetry/core/Telemetry.cpp
--- a/toolkit/components/telemetry/core/Telemetry.cpp
+++ b/toolkit/components/telemetry/core/Telemetry.cpp
@@ -680,17 +680,17 @@ TelemetryImpl::GetDebugSlowSQL(JSContext
 NS_IMETHODIMP
 TelemetryImpl::GetMaximalNumberOfConcurrentThreads(uint32_t* ret) {
   *ret = nsThreadManager::get().GetHighestNumberOfThreads();
   return NS_OK;
 }
 
 NS_IMETHODIMP
 TelemetryImpl::GetUntrustedModuleLoadEvents(JSContext* cx, Promise** aPromise) {
-#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
+#if defined(XP_WIN) && defined(EARLY_BETA_OR_EARLIER)
   return Telemetry::GetUntrustedModuleLoadEvents(cx, aPromise);
 #else
   return NS_ERROR_NOT_IMPLEMENTED;
 #endif
 }
 
 NS_IMETHODIMP
 TelemetryImpl::SnapshotCapturedStacks(bool clear, JSContext* cx,