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

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

Issue 2709103009: Fix specifier simplification and add test. (Closed)
Patch Set: Remove print statements, set MockPortFactory in mock_host method. Created 3 years, 10 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/w3c/wpt_expectations_updater.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py
index e65d5e6cbcaf5abb2b7c927862d993a19d7b5eca..fc8f37b3f12c9911fb6bff306b7eac1dc9119af1 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py
@@ -279,8 +279,8 @@ class WPTExpectationsUpdater(object):
for name in sorted(port_names):
specifiers.append(self.host.builders.version_specifier_for_port_name(name))
port = self.host.port_factory.get()
- specifiers = self.simplify_specifiers(specifiers, port.configuration_specifier_macros())
specifiers.extend(self.skipped_specifiers(test_name))
+ specifiers = self.simplify_specifiers(specifiers, port.configuration_specifier_macros())
if not specifiers:
return ''
return '[ %s ]' % ' '.join(specifiers)

Powered by Google App Engine
This is Rietveld 408576698