зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1381853 - load printUtils.js into the browser window lazily, r=mconley.
This commit is contained in:
Родитель
892a7dff17
Коммит
359a6563f2
|
@ -101,6 +101,10 @@ if (AppConstants.MOZ_CRASHREPORTER) {
|
|||
"resource:///modules/ContentCrashHandlers.jsm");
|
||||
}
|
||||
|
||||
XPCOMUtils.defineLazyScriptGetter(this, "PrintUtils",
|
||||
"chrome://global/content/printUtils.js");
|
||||
|
||||
|
||||
// lazy service getters
|
||||
|
||||
/* global Favicons:false, WindowsUIUtils:false, gAboutNewTabService:false,
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
# file so that ESLint works correctly:
|
||||
# tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
|
||||
|
||||
<script type="application/javascript" src="chrome://global/content/printUtils.js"/>
|
||||
<script type="application/javascript" src="chrome://global/content/viewZoomOverlay.js"/>
|
||||
<script type="application/javascript" src="chrome://browser/content/places/browserPlacesViews.js"/>
|
||||
<script type="application/javascript" src="chrome://browser/content/browser.js"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче