Remove IDLs from the Copy Bundle Resources phase.
[WebKit-https.git] / WebKitTools / WebKitLauncher / start.html
index 4194c39294778de9b6a51ac9ec9e9e407a6bb72d..2c94e7976c43cd2ad273887c9d37728e83f8d553 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <head>
         <title>Loading WebKit...</title>
-        <meta http-equiv="refresh" content="1;URL=http://nightly.webkit.org/start/?current-revision=unknown" />
+        <meta http-equiv="refresh" content="1;URL=http://nightly.webkit.org/start/" />
         <script type="text/javascript">
             function getWebKitRevision()
             {
                 request.send();
                 var revision = parseInt(request.responseText);
                 if (isNaN(revision))
-                    return "unknown";
+                    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();
-            document.location = "http://nightly.webkit.org/start/?current-revision=" + revision;
+            var branch = getWebKitBranch();
+            document.location = "http://nightly.webkit.org/start/" + branch + "/" + revision;
         </script>
     </head>
     <body>