Bug 1354761 - Avoid calling goNext inside BTU.withNewTab in browser_popupNotification_keyboard.js. r=nihanth
This was likely the cause of intermittent failures reporting dangling tabs at the end of the test.
MozReview-Commit-ID: Cq07ALUGiFI
--- a/browser/base/content/test/popupNotifications/browser_popupNotification_keyboard.js
+++ b/browser/base/content/test/popupNotifications/browser_popupNotification_keyboard.js
@@ -196,13 +196,13 @@ var tests = [
}
// Check that the input field is still focused inside the browser.
yield ContentTask.spawn(browser, {}, function() {
is(content.document.activeElement, content.document.getElementById("test-input"));
});
notification.remove();
- goNext();
});
+ goNext();
},
},
];