Bug 1810550 Comment 29 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Btw, kaya, just say if you think the platform side is missing some helper code here which would make it easier for Fenix to tell which tab is in background.
Btw, kaya, just say if you think the platform side is missing some helper code here which would make it easier for Fenix to tell which tab is in background. Desktop frontend seems to rely on things like https://searchfox.org/mozilla-central/rev/66aa740e65a343659a7446b890145781f1b6a344/toolkit/content/widgets/browser-custom-element.js#422-423
On the content process side it leads to https://searchfox.org/mozilla-central/rev/66aa740e65a343659a7446b890145781f1b6a344/docshell/base/nsDocShell.cpp#4948
Btw, kaya, just say if you think the platform side is missing some helper code here which would make it easier for Fenix to tell which tab is in background. Desktop frontend seems to rely on things like https://searchfox.org/mozilla-central/rev/66aa740e65a343659a7446b890145781f1b6a344/toolkit/content/widgets/browser-custom-element.js#422-423
On the content process side it leads to https://searchfox.org/mozilla-central/rev/66aa740e65a343659a7446b890145781f1b6a344/docshell/base/BrowsingContext.cpp#2688,2732 and then  https://searchfox.org/mozilla-central/rev/66aa740e65a343659a7446b890145781f1b6a344/docshell/base/nsDocShell.cpp#4948

Back to Bug 1810550 Comment 29