Bug 1197266, Reset pushed pref environment between browser tests, r=martijn

This commit is contained in:
Neil Deakin 2015-09-17 11:20:32 -04:00
parent 7f2bacd58c
commit 963f3608dd

View File

@ -480,6 +480,8 @@ Tester.prototype = {
// behavior of returning the last opened popup.
document.popupNode = null;
yield new Promise(resolve => SpecialPowers.flushPrefEnv(resolve));
// Notify a long running test problem if it didn't end up in a timeout.
if (this.currentTest.unexpectedTimeouts && !this.currentTest.timedOut) {
let msg = "This test exceeded the timeout threshold. It should be " +