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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter.py

Issue 2542963002: W3C Importer: Consolidate and simplify logic for deciding what not to convert. (Closed)
Patch Set: Created 4 years 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/w3c/test_converter.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter.py
index 261a00505d7358d8764cac32a227d38423aaec4f..547e08e996c56ace4add564954150ab88247c215 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter.py
@@ -45,13 +45,9 @@ def convert_for_webkit(new_path, filename, reference_support_info, host=Host()):
reference_support_info: Dict of information about a related reference HTML, if any.
Returns:
- A pair of (list of modified CSS properties, modified text) if the file
- should be modified; None, if the file is not modified.
+ A pair of (list of modified CSS properties, modified text).
"""
# Conversion is not necessary for any tests in wpt now; see http://crbug.com/654081.
- if re.search(r'[/\\]imported[/\\]wpt[/\\]', new_path):
- return None
-
contents = host.filesystem.read_binary_file(filename)
converter = _W3CTestConverter(new_path, filename, reference_support_info, host)
if filename.endswith('.css'):

Powered by Google App Engine
This is Rietveld 408576698