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

Unified Diff: sky/tools/webkitpy/layout_tests/port/base.py

Issue 1160763004: Add support for testing content in SkyView (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « sky/tests/raw/render_box-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/webkitpy/layout_tests/port/base.py
diff --git a/sky/tools/webkitpy/layout_tests/port/base.py b/sky/tools/webkitpy/layout_tests/port/base.py
index 169a5e434b1543733bb7f1f652a1e6eee8dcc2c7..c9b4a5961172c9091d07c43365013f1d0ae7fb17 100644
--- a/sky/tools/webkitpy/layout_tests/port/base.py
+++ b/sky/tools/webkitpy/layout_tests/port/base.py
@@ -230,7 +230,7 @@ class Port(object):
return [
'--args-for=mojo:native_viewport_service --use-headless-config --use-osmesa',
'--args-for=mojo:sky_viewer --testing',
- '--content-handlers=text/sky,mojo:sky_viewer',
+ '--content-handlers=text/sky,mojo:sky_viewer,text/plain,mojo:sky_viewer',
eseidel 2015/05/27 19:37:08 Should .dart be served as text/plain?
abarth-chromium 2015/05/27 20:13:50 Probably not. I just made this code match what sk
'--url-mappings=mojo:window_manager=mojo:sky_tester,mojo:surfaces_service=mojo:fake_surfaces_service',
'mojo:window_manager',
]
@@ -725,7 +725,7 @@ class Port(object):
return [self.relative_test_filename(f) for f in files]
# When collecting test cases, we include any file with these extensions.
- _supported_file_extensions = set(['.sky'])
+ _supported_file_extensions = set(['.sky', '.dart'])
@staticmethod
# If any changes are made here be sure to update the isUsedInReftest method in old-run-webkit-tests as well.
« no previous file with comments | « sky/tests/raw/render_box-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698