зеркало из https://github.com/mozilla/gecko-dev.git
b3cd1ccf21
Move the counting of private browsing contexts to the parent process. Also change to only consider non-chrome browsing contexts when counting private contexts. The latter is possible due to bug 1528115, because we no longer need to support hidden private windows. With counting in the parent process we can make sure that when we're changing remoteness on a private browsing context the private browsing context count never drops to zero. This fixes an issue with Fission, where we remoteness changes could transiently have a zero private browsing context count, that would be mistaken for the last private browsing context going away. Changing to only count non-chrome browsing contexts makes us only fire 'last-pb-context-exited' once, and since we count them in the parent there is no missing information about contexts that makes us wait for a content process about telling us about insertion or removal of browsing contexts. Differential Revision: https://phabricator.services.mozilla.com/D118182 |
||
---|---|---|
.. | ||
actors | ||
app | ||
base | ||
branding | ||
components | ||
config | ||
docs | ||
extensions | ||
fonts | ||
fxr | ||
installer | ||
locales | ||
modules | ||
themes | ||
tools/mozscreenshots | ||
.eslintrc.js | ||
LICENSE | ||
Makefile.in | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
defs.mk | ||
l10n-registry.manifest | ||
moz.build | ||
moz.configure |