зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1552058 - Don't include browser.xhtml in package. r=mossop
MOZ_BROWSER_XHTML=0 was accidentally being set causing us to include browser.xhtml when it wasn't actually enabled. Differential Revision: https://phabricator.services.mozilla.com/D31367 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
70c78645f6
Коммит
07099d0812
|
@ -159,9 +159,6 @@ var whitelist = [
|
|||
{file: "resource://gre/modules/Promise.jsm"},
|
||||
// Still used by WebIDE, which is going away but not entirely gone.
|
||||
{file: "resource://gre/modules/ZipUtils.jsm"},
|
||||
// Bug 1483277 (temporarily unreferenced)
|
||||
{file: AppConstants.BROWSER_CHROME_URL == "chrome://browser/content/browser.xul" ?
|
||||
"chrome://browser/content/browser.xhtml" : "chrome://browser/content/browser.xul" },
|
||||
// Bug 1494170
|
||||
// (The references to these files are dynamically generated, so the test can't
|
||||
// find the references)
|
||||
|
|
|
@ -30,8 +30,9 @@ browser.jar:
|
|||
content/browser/browser.js (content/browser.js)
|
||||
#ifdef MOZ_BROWSER_XHTML
|
||||
* content/browser/browser.xhtml (content/browser.xhtml)
|
||||
#endif
|
||||
#else
|
||||
* content/browser/browser.xul (content/browser.xul)
|
||||
#endif
|
||||
content/browser/browser-addons.js (content/browser-addons.js)
|
||||
content/browser/browser-allTabsMenu.js (content/browser-allTabsMenu.js)
|
||||
content/browser/browser-captivePortal.js (content/browser-captivePortal.js)
|
||||
|
|
|
@ -59,7 +59,8 @@ BROWSER_CHROME_MANIFESTS += [
|
|||
|
||||
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
|
||||
DEFINES['MOZ_APP_VERSION_DISPLAY'] = CONFIG['MOZ_APP_VERSION_DISPLAY']
|
||||
DEFINES['MOZ_BROWSER_XHTML'] = CONFIG['MOZ_BROWSER_XHTML']
|
||||
if CONFIG['MOZ_BROWSER_XHTML']:
|
||||
DEFINES['MOZ_BROWSER_XHTML'] = CONFIG['MOZ_BROWSER_XHTML']
|
||||
|
||||
DEFINES['APP_LICENSE_BLOCK'] = '%s/content/overrides/app-license.html' % SRCDIR
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче