зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1584678 - Ensure we don't change activeness when remoteness changes for real. r=mconley
We apparently have this code copy-pasted in two places? :( Differential Revision: https://phabricator.services.mozilla.com/D130261
This commit is contained in:
Родитель
f7637bc8d5
Коммит
012a09c534
|
@ -6013,12 +6013,12 @@
|
|||
|
||||
browser.droppedLinkHandler = oldDroppedLinkHandler;
|
||||
|
||||
// This shouldn't really be necessary (it should always set the same
|
||||
// value as activeness is correctly preserved across remoteness changes).
|
||||
// However, this has the side effect of sending MozLayerTreeReady /
|
||||
// MozLayerTreeCleared events for remote frames, which the tab switcher
|
||||
// depends on.
|
||||
browser.docShellIsActive = this.shouldActivateDocShell(browser);
|
||||
// This shouldn't really be necessary, however, this has the side effect
|
||||
// of sending MozLayerTreeReady / MozLayerTreeCleared events for remote
|
||||
// frames, which the tab switcher depends on.
|
||||
//
|
||||
// eslint-disable-next-line no-self-assign
|
||||
browser.docShellIsActive = browser.docShellIsActive;
|
||||
|
||||
// Create a new tab progress listener for the new browser we just
|
||||
// injected, since tab progress listeners have logic for handling the
|
||||
|
|
Загрузка…
Ссылка в новой задаче