Bug 1285211. Enable "Report Site Issue" menu item in Aurora + Nightly. r=sebastian

This commit is contained in:
Mike Taylor 2016-07-13 12:32:54 -04:00
parent 73eb07e665
commit 4fd54506f8
3 changed files with 4 additions and 4 deletions

View File

@ -133,7 +133,7 @@ var lazilyLoadedBrowserScripts = [
["CastingApps", "chrome://browser/content/CastingApps.js"],
["RemoteDebugger", "chrome://browser/content/RemoteDebugger.js"],
];
if (AppConstants.NIGHTLY_BUILD) {
if (!AppConstants.RELEASE_BUILD) {
lazilyLoadedBrowserScripts.push(
["WebcompatReporter", "chrome://browser/content/WebcompatReporter.js"]);
}
@ -531,7 +531,7 @@ var BrowserApp = {
InitLater(() => Services.obs.notifyObservers(window, "browser-delayed-startup-finished", ""));
InitLater(() => Messaging.sendRequest({ type: "Gecko:DelayedStartup" }));
if (AppConstants.NIGHTLY_BUILD) {
if (!AppConstants.RELEASE_BUILD) {
InitLater(() => WebcompatReporter.init());
}

View File

@ -59,7 +59,7 @@ chrome.jar:
content/aboutAccounts.js (content/aboutAccounts.js)
content/aboutLogins.xhtml (content/aboutLogins.xhtml)
content/aboutLogins.js (content/aboutLogins.js)
#ifdef NIGHTLY_BUILD
#ifndef RELEASE_BUILD
content/WebcompatReporter.js (content/WebcompatReporter.js)
#endif

View File

@ -36,7 +36,7 @@
locale/@AB_CD@/browser/handling.properties (%chrome/handling.properties)
locale/@AB_CD@/browser/aboutLogins.dtd (%chrome/aboutLogins.dtd)
locale/@AB_CD@/browser/aboutLogins.properties (%chrome/aboutLogins.properties)
#ifdef NIGHTLY_BUILD
#ifndef RELEASE_BUILD
locale/@AB_CD@/browser/webcompatReporter.properties (%chrome/webcompatReporter.properties)
#endif
% resource search-plugins chrome://browser/locale/searchplugins/