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

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: Add requisite README file 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 cfb9b06c59f6ea6141a4c48265e7fb8031803ca6..28a6bd519ebba0a9ffd596c8efa1d1a477090df1 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 "external/wpt/" in test
tkent 2017/03/13 06:50:32 Please add test to base_unittest.py
qyearsley 2017/03/14 19:46:10 Could potentially note that we're looking for this
def should_use_wptserve(self, test):
return self.is_wptserve_test(test)

Powered by Google App Engine
This is Rietveld 408576698