gecko-dev/js/xpconnect
Kris Maglione c01ad83372 Bug 1571502: Don't leak TabGroups which have never had windows joined to them. r=nika
Currently, TabGroups know to break their reference cycles only when the last
window leaves them. For TabGroups which have never had a window join (which
happens under Fission), this means they also never see a window leave, and
therefore never break their reference cycles, and leak.

This patch adds a check to break reference cycles if no windows have joined by
the time a BrowserChild they belong to is destroyed.

MANUAL PUSH: Lando fails to rebase.

Differential Revision: https://phabricator.services.mozilla.com/D40669

--HG--
extra : source : 03acb28ab60fb77fa06064385a62cc46cf4ad1bd
extra : amend_source : 0a71625d99951bebe45ee6f62570de491a714e97
2019-08-02 18:19:53 -07:00
..
crashtests Bug 1489308 part 5. Align the work we do on document.open with the spec. r=mccr8,smaug 2019-02-27 23:24:48 +00:00
idl Bug 1564349 part 1 - Convert Baseline/Ion/NativeRegExp prefs from ContextOptions to JitOptions. r=nbp,smaug 2019-07-10 09:43:39 +00:00
loader Bug 1565930, try to make Promise less error prone to compartment mismatches, r=bzbarsky 2019-07-29 14:43:54 +00:00
public Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-12 13:14:25 +00:00
shell Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
src Bug 1570484 - Nuke Xray waivers for remote outer window proxies. r=bzbarsky,tcampbell,jonco 2019-08-05 16:32:31 +00:00
tests Bug 1571502: Don't leak TabGroups which have never had windows joined to them. r=nika 2019-08-02 18:19:53 -07:00
wrappers Bug 1570484 - Nuke Xray waivers for remote outer window proxies. r=bzbarsky,tcampbell,jonco 2019-08-05 16:32:31 +00:00
moz.build