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

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

Issue 1164243002: W3C Test: Import web-platform-tests/html/syntax. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/imported/web-platform-tests/html/syntax/writing/text/contains.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/w3c/test_converter.py
diff --git a/Tools/Scripts/webkitpy/w3c/test_converter.py b/Tools/Scripts/webkitpy/w3c/test_converter.py
index 05e46dde047f9d0fa41a0c557eea95c544e1014b..54de1ee262670b092a813fb52e350729d209c10f 100755
--- a/Tools/Scripts/webkitpy/w3c/test_converter.py
+++ b/Tools/Scripts/webkitpy/w3c/test_converter.py
@@ -46,7 +46,7 @@ def convert_for_webkit(new_path, filename, reference_support_info, host=Host()):
contents = host.filesystem.read_binary_file(filename)
converter = _W3CTestConverter(new_path, filename, reference_support_info, host)
if filename.endswith('.css'):
- return converter.add_webkit_prefix_to_unprefixed_properties(contents)
+ return converter.add_webkit_prefix_to_unprefixed_properties(contents.decode('utf-8'))
else:
converter.feed(contents.decode('utf-8'))
converter.close()
« no previous file with comments | « LayoutTests/imported/web-platform-tests/html/syntax/writing/text/contains.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698