Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py

Issue 1948033003: Convert most geolocation layout tests to use a JS mock implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-disconnect
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698