Files
firefox/devtools/client/accessibility/main.js
T
Alexandre Poirot 4cc4a20117 Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes
ChromeUtils.import still support a second argument as it used to do
when it was Components.utils.import. But this is deprecated and we should
instead always use the returned value.

Differential Revision: https://phabricator.services.mozilla.com/D37708
2019-07-11 17:08:20 +00:00

19 lines
551 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
const { utils: Cu } = Components;
const { BrowserLoader } = Cu.import(
"resource://devtools/client/shared/browser-loader.js"
);
// Module Loader
const require = BrowserLoader({
baseURI: "resource://devtools/client/accessibility/",
window,
}).require;
// Load accessibility panel content
require("./accessibility-view.js");