mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
b9592e87ec
It's possible to RenderLayers for a top-level content process DocShell without that DocShell being active. When we do this, the PresShell for that DocShell becomes active, but the DocShell stays inactive (to avoid accidentally playing paused video or clearing notifications in that DocShell). If a DocShell is inactive but rendering its layers, it's possible for that DocShell to navigate. When this occurs, a new PresShell can be created, which normally reads its active state off of the DocShell. This means that the PresShell will become inactive even though the tab is supposed to continue rendering its layers. This patch checks for PresShell active state when setting up a new content viewer after a navigation, and if the previous PresShell was active, makes the new PresShell active too. MozReview-Commit-ID: KX9HvZJKqg2 --HG-- extra : rebase_source : aac1710a64b6e5f93b9874b2a15637d94a8ce5b6 |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |