[tbb-commits] [tor-browser/tor-browser-68.1.0esr-9.0-2] fixup! Bug 26961: New user onboarding.

gk at torproject.org gk at torproject.org
Fri Sep 6 09:46:33 UTC 2019


commit e1ad91f3031dd08a0591d0f9d472cb49e015ad75
Author: Alex Catarineu <acat at torproject.org>
Date:   Mon Sep 2 12:20:00 2019 +0200

    fixup! Bug 26961: New user onboarding.
---
 browser/components/uitour/UITour.jsm | 2 +-
 browser/extensions/onboarding/api.js | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/browser/components/uitour/UITour.jsm b/browser/components/uitour/UITour.jsm
index 6eba73a8f51a..2a4c81d69374 100644
--- a/browser/components/uitour/UITour.jsm
+++ b/browser/components/uitour/UITour.jsm
@@ -789,7 +789,7 @@ var UITour = {
         let securityLevelButton =
                       window.document.getElementById("security-level-button");
         if (securityLevelButton)
-	  securityLevelButton.doCommand();
+	  securityLevelButton.click();
         break;
     }
 
diff --git a/browser/extensions/onboarding/api.js b/browser/extensions/onboarding/api.js
index db10a6d16248..d11e525b9f8c 100644
--- a/browser/extensions/onboarding/api.js
+++ b/browser/extensions/onboarding/api.js
@@ -8,7 +8,6 @@
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 XPCOMUtils.defineLazyModuleGetters(this, {
   OnboardingTourType: "resource://onboarding/modules/OnboardingTourType.jsm",
-  OnboardingTelemetry: "resource://onboarding/modules/OnboardingTelemetry.jsm",
   Services: "resource://gre/modules/Services.jsm",
   UIState: "resource://services-sync/UIState.jsm",
 });





More information about the tbb-commits mailing list