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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 2735443002: Refactor ServiceWorker tests for inclusion in WPT (Closed)
Patch Set: Upstream service worker nav. preload tests to WPT Created 3 years, 9 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/port/base.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
index 8661a35952d79258f77aae8292cad8d639862a59..f6ee2901a55ccc73382ab43e6781e17997802f47 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
@@ -1151,7 +1151,7 @@ class Port(object):
@staticmethod
def is_wptserve_test(test):
"""Whether wptserve should be used for a given test if enabled."""
- return test.startswith('external/wpt/')
+ return re.match(r'(virtual/[^/]+/)?external/wpt/', test)
def should_use_wptserve(self, test):
return self.is_wptserve_test(test)

Powered by Google App Engine
This is Rietveld 408576698