gnome-shell/tests/unit
Florian Müllner fc4f9f61fa signalTracker: Explicitly register destroyable types
We currently assume that any '::destroy' signal on a GObject type
has the semantics of the ClutterActor/GtkWidget signal, and should
therefore result in all signals being disconnected.

But we already have a case where the assumption doesn't hold: ShellWM
uses '::destroy' for the closing animation of windows, and the ShellWM
object itself remains very valid after the emission.

So rather than making assumptions about '::destroy', check objects
against a list of destroyable types that are explicitly registered
as such.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2226>
2022-03-06 00:10:03 +00:00
..
highlighter.js tests: Add unit test for highlighter 2021-12-22 16:47:18 +00:00
insertSorted.js
jsParse.js
markup.js
params.js tests: Add Params.parse() unit tests 2019-07-05 18:28:26 +02:00
signalTracker.js signalTracker: Explicitly register destroyable types 2022-03-06 00:10:03 +00:00
url.js util: Handle trailing LTR/RTL markers in URLs 2019-09-16 20:41:47 +00:00
versionCompare.js util: Add a GNOME version comparison function 2021-02-05 13:41:26 +00:00