Remove IDLs from the Copy Bundle Resources phase.
[WebKit-https.git] / WebKitTools / WebKitLauncher / start.html
index e987feafeada495ed7fe54d1c9486b28e67388ab..2c94e7976c43cd2ad273887c9d37728e83f8d553 100644 (file)
@@ -1,8 +1,31 @@
 <html>
     <head>
+        <title>Loading WebKit...</title>
         <meta http-equiv="refresh" content="1;URL=http://nightly.webkit.org/start/" />
         <script type="text/javascript">
-            document.location = "http://nightly.webkit.org/start/";
+            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>