Title: [90418] trunk/Tools
Revision
90418
Author
[email protected]
Date
2011-07-05 17:08:36 -0700 (Tue, 05 Jul 2011)

Log Message

2011-07-05  Adam Barth  <[email protected]>

        Turns out we need to support numerals too because that's what jQuery
        uses by default.

        * TestResultServer/handlers/testfilehandler.py:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (90417 => 90418)


--- trunk/Tools/ChangeLog	2011-07-06 00:07:12 UTC (rev 90417)
+++ trunk/Tools/ChangeLog	2011-07-06 00:08:36 UTC (rev 90418)
@@ -1,3 +1,10 @@
+2011-07-05  Adam Barth  <[email protected]>
+
+        Turns out we need to support numerals too because that's what jQuery
+        uses by default.
+
+        * TestResultServer/handlers/testfilehandler.py:
+
 2011-07-05  Dirk Pranke  <[email protected]>
 
         Re-land nrwt: make sharding tests needing locks less hard-coded

Modified: trunk/Tools/TestResultServer/handlers/testfilehandler.py (90417 => 90418)


--- trunk/Tools/TestResultServer/handlers/testfilehandler.py	2011-07-06 00:07:12 UTC (rev 90417)
+++ trunk/Tools/TestResultServer/handlers/testfilehandler.py	2011-07-06 00:08:36 UTC (rev 90418)
@@ -158,8 +158,8 @@
         else:
             json = self._get_file_content(master, builder, test_type, name)
 
-        if callback_name and re.search(r"^[A-Za-z_]+$", callback_name):
-            json = re.sub(r"^[A-Za-z_]+[(]", callback_name + "(", json)
+        if callback_name and re.search(r"^[A-Za-z0-9_]+$", callback_name):
+            json = re.sub(r"^[A-Za-z0-9_]+[(]", callback_name + "(", json)
 
         if json:
             self.response.headers["Content-Type"] = "application/json"
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to