This file is indexed.

/usr/share/maas/web/static/js/tests/test_power_parameters.html is in maas-region-controller-min 1.5+bzr2252-0ubuntu1.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Test maas.power_parameters</title>

    <!-- YUI and test setup -->
    <script type="text/javascript" src="../testing/yui_test_conf.js"></script>
    <script type="text/javascript" src="/usr/share/javascript/yui3/yui/yui.js"></script>
    <script type="text/javascript" src="../testing/testrunner.js"></script>
    <script type="text/javascript" src="../testing/testing.js"></script>
    <!-- The module under test -->
    <script type="text/javascript" src="../power_parameters.js"></script>
    <!-- The test suite -->
    <script type="text/javascript" src="test_power_parameters.js"></script>
  </head>
  <body>
  <span id="suite">maas.power_parameters.tests</span>
  <script type="text/x-template" id="select_node">
  <span class="power_type">
    <select>
      <option value="" selected="selected">---------</option>
      <option value="value1">Value1</option>
      <option value="value2">Value2</option>
    </select>
  </span>
  </script>
  <script type="text/x-template" id="target_node">
    <span class="power_parameters"></span>
  </script>
  <script type="text/x-template" id="prefix-">
    Empty default value.
  </script>
  <script type="text/x-template" id="prefix-value1">
    Value1
  </script>
  <script type="text/x-template" id="prefix-value2">
    Value2.
  </script>
  <div id="placeholder"></div>
  </body>
</html>