Bug 1143091 - restarting tests with --keep-open is hard. r=ted

This commit is contained in:
Joel Maher 2015-03-18 08:38:25 -04:00
parent d43ff13300
commit 50711c0001

View File

@ -105,6 +105,7 @@ function Tester(aTests, aDumper, aCallback) {
this.openedURLs = {}; this.openedURLs = {};
this._scriptLoader = Services.scriptloader; this._scriptLoader = Services.scriptloader;
this.EventUtils = {};
this._scriptLoader.loadSubScript("chrome://mochikit/content/tests/SimpleTest/EventUtils.js", this.EventUtils); this._scriptLoader.loadSubScript("chrome://mochikit/content/tests/SimpleTest/EventUtils.js", this.EventUtils);
var simpleTestScope = {}; var simpleTestScope = {};
this._scriptLoader.loadSubScript("chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js", simpleTestScope); this._scriptLoader.loadSubScript("chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js", simpleTestScope);