Skip to content

Commit

Permalink
Merge pull request #2659 from dannycolin/bz#1823729
Browse files Browse the repository at this point in the history
Fix bz#1823729 - Listen only for status on tab updated
  • Loading branch information
rafeerahman authored Aug 29, 2024
2 parents a53eb64 + 51ead29 commit 97891f6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/js/background/messageHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ const messageHandler = {
break;
case "assignAndReloadInContainer":
tab = await assignManager.reloadPageInContainer(
m.url,
m.url,
m.currentUserContextId,
m.newUserContextId,
m.tabIndex,
m.newUserContextId,
m.tabIndex,
m.active,
true
);
Expand Down Expand Up @@ -226,7 +226,9 @@ const messageHandler = {
// if it's a container tab wait for it to complete and
// unhide other tabs from this container
if (tab.cookieStoreId.startsWith("firefox-container")) {
browser.tabs.onUpdated.addListener(this.tabUpdateHandler);
browser.tabs.onUpdated.addListener(this.tabUpdateHandler, {
properties: ["status"]
});
}
}
}
Expand Down

0 comments on commit 97891f6

Please sign in to comment.