webengine/osswebengine/WebKitTools/WebKitLauncher/start.html
author chetan.kapoor@v800025.ad-sfpd.intra
Tue, 27 Oct 2009 10:58:40 +0000
branchCompilerCompatibility
changeset 25 9d87bae3dc1b
parent 0 dd21522fd290
permissions -rw-r--r--
Bug 669 & 670 - Build errors with RVCT 4.0: Error: #504-D: nonstandard form for taking the address of a member function

<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>