Title: [96666] trunk/Tools
Revision
96666
Author
aba...@webkit.org
Date
2011-10-04 17:52:18 -0700 (Tue, 04 Oct 2011)

Log Message

garden-o-matic doesn't launch it's UI on Lion
https://bugs.webkit.org/show_bug.cgi?id=69349

Reviewed by Darin Adler.

It turns out that Lion is a bit more picky about file URLs.  This patch
switches us from using a path to using an actual file URL, silencing
the warning and making the tool actually launch on Lion.

* Scripts/webkitpy/tool/servers/gardeningserver.py:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (96665 => 96666)


--- trunk/Tools/ChangeLog	2011-10-05 00:12:46 UTC (rev 96665)
+++ trunk/Tools/ChangeLog	2011-10-05 00:52:18 UTC (rev 96666)
@@ -1,3 +1,16 @@
+2011-10-04  Adam Barth  <aba...@webkit.org>
+
+        garden-o-matic doesn't launch it's UI on Lion
+        https://bugs.webkit.org/show_bug.cgi?id=69349
+
+        Reviewed by Darin Adler.
+
+        It turns out that Lion is a bit more picky about file URLs.  This patch
+        switches us from using a path to using an actual file URL, silencing
+        the warning and making the tool actually launch on Lion.
+
+        * Scripts/webkitpy/tool/servers/gardeningserver.py:
+
 2011-10-04  Daniel Bates  <dba...@rim.com>
 
         Fix Perl undefined variable warning when using run-safari after

Modified: trunk/Tools/Scripts/webkitpy/tool/servers/gardeningserver.py (96665 => 96666)


--- trunk/Tools/Scripts/webkitpy/tool/servers/gardeningserver.py	2011-10-05 00:12:46 UTC (rev 96665)
+++ trunk/Tools/Scripts/webkitpy/tool/servers/gardeningserver.py	2011-10-05 00:52:18 UTC (rev 96666)
@@ -89,7 +89,7 @@
         BaseHTTPServer.HTTPServer.__init__(self, (server_name, httpd_port), GardeningHTTPRequestHandler)
 
     def url(self):
-        return os.path.join(GardeningHTTPRequestHandler.STATIC_FILE_DIRECTORY, 'garden-o-matic.html')
+        return 'file://' + os.path.join(GardeningHTTPRequestHandler.STATIC_FILE_DIRECTORY, 'garden-o-matic.html')
 
 
 class GardeningHTTPRequestHandler(ReflectionHandler):
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to