gecko-dev/dom/system
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
..
android Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
linux Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
mac Backed out changeset 7510c8179dff (bug 1529591) for OSX build bustage 2019-06-27 09:42:16 +03: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
windows Bug 1535124 part 3. Add MOZ_CAN_RUN_SCRIPT annotations to geolocation code as needed. r=jdm 2019-03-20 18:05:09 +00:00
NetworkGeolocationProvider.jsm Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
OSFileConstants.cpp Bug 1564900 - [OS.File] Fix size of statvfs::f_frsize;r=Yoric 2019-07-18 08:55:43 +00:00
OSFileConstants.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
components.conf Bug 1524688: Part 17 - Convert NetworkGeolocationProvider to static registration. r=jdm 2019-01-29 20:53:13 -08:00
moz.build Bug 1541017 - Update in-tree bugzilla components for geolocation and dom/commandhandler/. r=mossop 2019-04-02 16:39:03 +00:00
nsDeviceSensors.cpp Bug 1570212 - Convert device.sensors.test.events to a static pref. r=mccr8 2019-08-02 11:59:05 +00:00
nsDeviceSensors.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsIOSFileConstantsService.idl
nsIOSPermissionRequest.idl Bug 1487204 - Add platform support for calling authorizationStatusForMediaType and requestAccessForMediaType from JS r=spohl 2018-09-06 16:06:15 +00:00
nsOSPermissionRequest.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsOSPermissionRequestBase.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsOSPermissionRequestBase.h Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky 2018-12-16 17:27:58 -08:00