Bug 966933 - [Australis] UITour: Add a UI tour link in the Help menu. r=Gijs
This commit is contained in:
@@ -42,6 +42,7 @@ const SEENPAGEID_EXPIRY = 2 * 7 * 24 * 60 * 60 * 1000; // 2 weeks.
|
||||
|
||||
|
||||
this.UITour = {
|
||||
url: null,
|
||||
seenPageIDs: null,
|
||||
pageIDSourceTabs: new WeakMap(),
|
||||
pageIDSourceWindows: new WeakMap(),
|
||||
@@ -127,6 +128,11 @@ this.UITour = {
|
||||
configurable: true,
|
||||
});
|
||||
|
||||
delete this.url;
|
||||
XPCOMUtils.defineLazyGetter(this, "url", function () {
|
||||
return Services.urlFormatter.formatURLPref("browser.uitour.url");
|
||||
});
|
||||
|
||||
UITelemetry.addSimpleMeasureFunction("UITour",
|
||||
this.getTelemetry.bind(this));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user