Bug 1418183 - Wait for the next event tick before resolving Promise for history event in browser/components/sessionstore/test/browser_async_remove_tab.js r=mossop

This commit is contained in:
Tooru Fujisawa 2017-11-18 22:57:18 +09:00
parent fbd6216805
commit 3f7d0cfdfa

View File

@ -75,7 +75,7 @@ function promiseHistoryEntryReplacedNonRemote(browser) {
let listener = {
OnHistoryReplaceEntry() {
shistory.removeSHistoryListener(this);
resolve();
executeSoon(resolve);
},
QueryInterface: XPCOMUtils.generateQI([