Bug 704822 - android twinopen is failing due to a bug in talos configuration step. r=wlach
authorJoel Maher <jmaher@mozilla.com>
Wed, 23 Nov 2011 10:58:52 -0500
changeset 303 7eb0f8040d4c45f852b3e0f906d791e3640bf2cb
parent 302 6fd9d9bfcd3efa85085ac37637d73d31abb3232b
child 304 77e473a5ce1c907ad8e3904fbc6500a66ef6d5ea
push id98
push userjmaher@mozilla.com
push dateWed, 23 Nov 2011 15:59:47 +0000
reviewerswlach
bugs704822
Bug 704822 - android twinopen is failing due to a bug in talos configuration step. r=wlach
talos/PerfConfigurator.py
--- a/talos/PerfConfigurator.py
+++ b/talos/PerfConfigurator.py
@@ -244,23 +244,24 @@ class PerfConfigurator:
         """
         
         if (not self.webServer or self.webServer == 'localhost'):
           return line
         
         #NOTE: line.split() causes this to fail because it splits on the \n and not every single ' '
         parts = line.split(' ')
         newline = ''
+
+        # We cannot load .xul remotely and winopen.xul is the only instance.
+        # winopen.xul is handled in remotePerfConfigurator.py
         for part in parts:
             if '.html' in part:
                 newline += 'http://' + self.webServer + '/' + part
             elif '.manifest' in part:
                 newline += self.buildRemoteManifest(part) + ' '
-            elif '.xul' in part:
-                newline += 'http://' + self.webServer + '/' + part
             else:
                 newline += part
                 if (part <> parts[-1]):
                     newline += ' '
 
         return newline
 
     def buildRemoteManifest(self, manifestName):