Bug 1402059 - Don't import editBookmarkOverlay.js in places.xul on Mac because it is imported elsewhere. r?florian
MozReview-Commit-ID: 5e32dMnLdik
--- a/browser/components/places/content/places.xul
+++ b/browser/components/places/content/places.xul
@@ -39,18 +39,21 @@
onunload="PlacesOrganizer.destroy();"
width="&places.library.width;" height="&places.library.height;"
screenX="10" screenY="10"
toggletoolbar="true"
persist="width height screenX screenY sizemode">
<script type="application/javascript"
src="chrome://browser/content/places/places.js"/>
+#ifndef XP_MACOSX
+ <!-- On Mac, this is included via macBrowserOverlay.xul -> browser.js -> defineLazyScriptGetter -->
<script type="application/javascript"
src="chrome://browser/content/places/editBookmarkOverlay.js"/>
+#endif
<stringbundleset id="placesStringSet">
<stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
</stringbundleset>
#ifdef XP_MACOSX
#include ../../../base/content/browserMountPoints.inc