Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py |
index 59b676cd4e0a62e097e1e909b6105e833d4410a3..f7956e9e0e66089be69333c9fe4f8d7ece79c31c 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py |
@@ -76,7 +76,7 @@ class ApacheHTTP(server_base.ServerBase): |
'-f', '%s' % self._port_obj.path_to_apache_config_file(), |
'-C', 'ServerRoot "%s"' % server_root, |
'-C', 'DocumentRoot "%s"' % document_root, |
- '-c', 'Alias /js-test-resources "%s"' % js_test_resources_dir, |
+ '-c', 'AliasMatch /(.*/)?js-test-resources/(.+) "%s/$1resources/$2"' % test_dir, |
Dirk Pranke
2016/05/10 20:51:49
why was this change needed, and what did it do?
Sam McNally
2016/05/11 00:40:41
The existing /js-test-resources allows http layout
|
'-c', 'AliasMatch ^/resources/testharness([r.].*) "%s/testharness$1"' % imported_resources_dir, |
'-c', 'Alias /w3c/resources/WebIDLParser.js "%s/webidl2/lib/webidl2.js"' % imported_resources_dir, |
'-c', 'Alias /w3c/resources "%s"' % imported_resources_dir, |