This file is indexed.

/usr/share/seed-gtk4-tests/javascript/stucts/struct-union-enumerate.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env seed

// The way this test stood, it didn't make any sense. It still doesn't, but
// at least now it's not fragile based on Gdk version, and will still be
// triggered by the only flaw this test has ever caught...

testsuite = imports.testsuite
Gdk = imports.gi.Gdk

maxindent = 0
propcount = 0

function enum_structlike(indent, e)
{
    if(indent > maxindent)
        maxindent = indent
    
	for (prop in e)
	{
	    propcount++
	    
		try
		{
			if (e[prop] && e[prop].toString() && 
				(e[prop].toString().search("struct") > 0 ||
				e[prop].toString().search("union") > 0))
				enum_structlike(indent + 1, e[prop])
		}
		catch(e)
		{
			
		}
	}
}

e = new Gdk.Event()

enum_structlike(0, e)

testsuite.assert(maxindent >= 2)
testsuite.assert(propcount >= 50)