mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 914890 - While running a standalone mochitest, prefs and permissions should also reset after the mochitest run. r=jmaher
This commit is contained in:
parent
68e8048a99
commit
cd685e1e35
@ -779,7 +779,11 @@ SimpleTest.finish = function () {
|
||||
/* We're running in an iframe, and the parent has a TestRunner */
|
||||
parentRunner.testFinished(SimpleTest._tests);
|
||||
} else {
|
||||
SimpleTest.showReport();
|
||||
SpecialPowers.flushPermissions(function () {
|
||||
SpecialPowers.flushPrefEnv(function() {
|
||||
SimpleTest.showReport();
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user