File: index.html

package info (click to toggle)
thunderbird 1%3A143.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,703,968 kB
  • sloc: cpp: 7,770,492; javascript: 5,943,842; ansic: 3,918,754; python: 1,418,263; xml: 653,354; asm: 474,045; java: 183,079; sh: 111,238; makefile: 20,410; perl: 14,359; objc: 13,059; yacc: 4,583; pascal: 3,405; lex: 1,720; ruby: 999; exp: 762; sql: 715; awk: 580; php: 436; lisp: 430; sed: 69; csh: 10
file content (84 lines) | stat: -rw-r--r-- 2,827 bytes parent folder | download | duplicates (24)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!-- Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/ -->
<!doctype html>

<html>
  <head>
    <meta charset="utf-8"/>
    <title>Empty test page 1</title>
  </head>

  <body>
    <!-- A simple inline script, that helps to cover breakable lines/columns -->
    <!-- Have them define first, so that we avoid shifting lines when adding new scripts later in the html -->
    <script>
      // Comment
      console.log('breakable-line');
    </script>

    <!-- A second inline script, that helps cover bugs when having two distinct inline scripts -->
    <!-- And also covers inline script with column indexes being offseted by the HTML content -->
    <script>console.log("second inline script");</script>

    <!-- Covers column index being shifted only for the first line and normal for the subsequent ones -->
    <script>console.log("third inline script");
      eval(`
        function nameLessEval() {
          console.log("name-less-eval");
        }
      `);
      eval(`
        function namedEval() {
          console.log("named-eval");
        }
        //# sourceURL=named-eval.js
      `);
    </script>

    <script>
      const logWorker = new Worker("log-worker.js");
      function invokeLogWorker() {
        logWorker.postMessage({yo: 'yo'})
      }
    </script>

    <!-- Test JS file with encoded characters as well as custom protocol -->
    <script>
    //# sourceURL=foo://bar/%e6%96%87%e5%ad%97%e3%82%b3%e3%83%bc%e3%83%89.js
    </script>

    <!-- A simple script -->
    <script src="script.js"></script>
    <!-- A script whose URL is shared by many other sources -->
    <script src="same-url.sjs"></script>
    <!-- A script running some various code on page load -->
    <script src="onload.js"></script>
    <!-- Another script containing helper functions trigerred by the tests -->
    <script src="test-functions.js"></script>

    <!-- Scripts with query strings -->
    <!-- * same file, distinct query -->
    <script src="query.js?x=1"></script>
    <script src="query.js?x=2"></script>
    <!-- * unique file -->
    <script src="query2.js?y=3"></script>

    <!-- A javascript: URL, which should not be shown in the SourceTree -->
    <script src="javascript:console.log('foo')"></script>

    <!-- A bundle/generated source that contains original.js -->
    <script src="bundle.js"></script>

    <!-- A bundle/generated source that contains original-with-no-update.js -->
    <script src="bundle-with-another-original.js"></script>

    <!-- Another bundle/generated source that contains removed-original.js -->
    <script src="replaced-bundle.js"></script>

    <!-- A script that looks like a react module -->
    <script src="react-component-module.js"></script>

    <iframe src="iframe.html"></script>
  </body>

</html>