
This code was commented out in commit 593b431
as it was causing a crash in gjs.
As per the [1] gjs fix, this can now be safely used again.
[1] https://gitlab.gnome.org/GNOME/gjs/merge_requests/289
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/510