Backed out changeset 912825aa7ee1 (bug 1254145) for failing bc7 tests. r=backout

This commit is contained in:
Sebastian Hengst 2016-03-08 10:48:15 +01:00
parent 9c9d7e08e4
commit 263fc3de3c

View File

@ -64,7 +64,7 @@ this.BrowserTestUtils = {
withNewTab: Task.async(function* (options, taskFn) {
let tab = yield BrowserTestUtils.openNewForegroundTab(options.gBrowser, options.url);
let result = yield taskFn(tab.linkedBrowser);
yield BrowserTestUtils.removeTab(tab);
options.gBrowser.removeTab(tab);
return Promise.resolve(result);
}),