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 c3d39116e9
commit 79f93afdb2

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();
});
}