Bug 1223510, part 3 - Change where generator is created. r=baku

Mostly this lets us take advantage of things created during the initial setup.
This commit is contained in:
Andrew McCreight 2015-11-11 14:10:26 -08:00
parent e47ad87cb9
commit 9fd7a4a9fa

View File

@ -3,13 +3,14 @@
* http://creativecommons.org/publicdomain/zero/1.0/
*/
var testGenerator = testSteps();
var testGenerator;
function runTest()
{
SimpleTest.waitForExplicitFinish();
SpecialPowers.pushPrefEnv({'set': [ ["dom.archivereader.enabled", true] ]}, function() {
testGenerator = testSteps();
return testGenerator.next();
});
}