зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1766238 - Stop using the target argument for ChromeUtils.import in caps tests. r=bholley
Depends on D144559 Differential Revision: https://phabricator.services.mozilla.com/D144560
This commit is contained in:
Родитель
7aeec8d9b3
Коммит
3580687036
|
@ -12,7 +12,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1180921
|
|||
<script type="application/javascript">
|
||||
|
||||
/** Test for Bug 1180921 **/
|
||||
let module = Cu.getGlobalForObject(ChromeUtils.import("resource://gre/modules/Services.jsm", window));
|
||||
let { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
let module = Cu.getGlobalForObject(Services);
|
||||
let ssm = Services.scriptSecurityManager;
|
||||
|
||||
function StubPolicy(id, subdomain) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче