mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
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:
parent
fbd6216805
commit
3f7d0cfdfa
@ -75,7 +75,7 @@ function promiseHistoryEntryReplacedNonRemote(browser) {
|
||||
let listener = {
|
||||
OnHistoryReplaceEntry() {
|
||||
shistory.removeSHistoryListener(this);
|
||||
resolve();
|
||||
executeSoon(resolve);
|
||||
},
|
||||
|
||||
QueryInterface: XPCOMUtils.generateQI([
|
||||
|
Loading…
Reference in New Issue
Block a user