1 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 # JS files which are needed by browser.xhtml but no other top level windows to
7 # support MacOS specific features should be loaded directly from browser.xhtml
8 # rather than this file.
10 # If you update this list, you may need to add a mapping within the following
11 # file so that ESLint works correctly:
12 # tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
14 <script type="text/javascript">
15 Services.scriptloader.loadSubScript("chrome://browser/content/browser.js", this);
16 Services.scriptloader.loadSubScript("chrome://browser/content/places/browserPlacesViews.js", this);
17 Services.scriptloader.loadSubScript("chrome://browser/content/browser-places.js", this);
18 Services.scriptloader.loadSubScript("chrome://global/content/globalOverlay.js", this);
19 Services.scriptloader.loadSubScript("chrome://global/content/editMenuOverlay.js", this);
20 Services.scriptloader.loadSubScript("chrome://browser/content/utilityOverlay.js", this);
21 Services.scriptloader.loadSubScript("chrome://browser/content/browser-sets.js", this);
22 if (AppConstants.platform == "macosx") {
23 Services.scriptloader.loadSubScript("chrome://global/content/macWindowMenu.js", this);