This file is indexed.

/usr/share/seed-gtk4-tests/javascript/closure-finalization.js is in libseed-gtk4-0 4.0.0+20161014+6c77960+dfsg1-5build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env seed

testsuite = imports.testsuite;
Gtk = imports.gi.Gtk;

Gtk.init(Seed.argv);

w = new Gtk.Window();

// Closure will always be GCed at end of signal.
signal = function()
{
    widgets = []
	w.foreach(function(widget){widgets.push(widget.toString())})
	testsuite.assert(widgets[0] == ["[object GtkVBox]"])
	testsuite.assert(widgets.length == 1)
};

vbox = new Gtk.VBox();

w.add(vbox);

w.signal.show.connect(signal);

w.show_all();

testsuite.checkAsserts(2)