Bug 720985 - Make some tests stop polluting the global scope

This commit is contained in:
Dão Gottwald 2012-02-03 10:13:41 +01:00
parent 5100aaee99
commit be33215b58
2 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,9 @@
// - https://github.com/mozilla/gcli/blob/master/docs/index.md
// - https://wiki.mozilla.org/DevTools/Features/GCLI
Components.utils.import("resource:///modules/gcli.jsm");
let tmp = {};
Components.utils.import("resource:///modules/gcli.jsm", tmp);
let gcli = tmp.gcli;
let hud;
let gcliterm;

View File

@ -4,7 +4,9 @@
// Tests that the metadata request includes startup time measurements
Components.utils.import("resource://gre/modules/AddonRepository.jsm");
let tmp = {};
Components.utils.import("resource://gre/modules/AddonRepository.jsm", tmp);
let AddonRepository = tmp.AddonRepository;
var gManagerWindow;
var gProvider;