File: start.html

package info (click to toggle)
webkit 1.0.1-4%2Blenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 68,876 kB
  • ctags: 66,869
  • sloc: cpp: 369,003; ansic: 20,095; perl: 13,548; objc: 13,474; yacc: 2,562; python: 1,092; sh: 611; ruby: 405; makefile: 140; xml: 10
file content (33 lines) | stat: -rw-r--r-- 1,089 bytes parent folder | download | duplicates (4)
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
<html>
    <head>
        <title>Loading WebKit...</title>
        <meta http-equiv="refresh" content="1;URL=http://nightly.webkit.org/start/" />
        <script type="text/javascript">
            function getWebKitRevision()
            {
                var request = new XMLHttpRequest();
                request.open("GET", "VERSION", false);
                request.send();
                var revision = parseInt(request.responseText);
                if (isNaN(revision))
                    return "";

                return revision;
            }

            function getWebKitBranch()
            {
                var request = new XMLHttpRequest();
                request.open("GET", "BRANCH", false);
                request.send();
                return (request.responseText || "trunk").replace(/\s/g, '')
            }

            var revision = getWebKitRevision();
            var branch = getWebKitBranch();
            document.location = "http://nightly.webkit.org/start/" + branch + "/" + revision;
        </script>
    </head>
    <body>
    </body>
</html>