diff options
author | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-17 00:21:49 +0000 |
---|---|---|
committer | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-17 00:21:49 +0000 |
commit | 241e406fda8bee905a51b7579ec285e779b35c50 (patch) | |
tree | f2c2b0b292551a6709dbbdc250d8239eee393aa2 /webkit | |
parent | 17201ef42087e15d27b350f3b3a89f74bdfc62e7 (diff) | |
download | chromium_src-241e406fda8bee905a51b7579ec285e779b35c50.zip chromium_src-241e406fda8bee905a51b7579ec285e779b35c50.tar.gz chromium_src-241e406fda8bee905a51b7579ec285e779b35c50.tar.bz2 |
Set 'remote_fonts_enabled' to true in test_shell. Chrome has it off by default, but
we don't want to lose the test coverage for dynamic font support. So, we turn it on in test_shell.
TBR=darin
http://crbug.com/9633
TEST=The following two webkit tests pass:
LayoutTests/fast/css/font-face-remote.html
LayoutTests/fast/css/font-face-unicode-range.html
Review URL: http://codereview.chromium.org/115445
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index 0dd4c40..ef5e8e7 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -396,6 +396,9 @@ void TestShell::ResetWebPreferences() { web_prefs_->text_areas_are_resizable = false; web_prefs_->java_enabled = true; web_prefs_->allow_scripts_to_close_windows = false; + // It's off by default for Chrome, but we don't want to + // lose the coverage of dynamic font tests in webkit test. + web_prefs_->remote_fonts_enabled = true; } } |