summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 23:30:15 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 23:30:15 +0000
commit4ec516851c4f8990c048e6ffa9886dc6074d874a (patch)
tree0c3206feefc1ca3d0015e27a616803a96fc8189d /webkit/tools
parentd88e4274d7ab91d3b58af68e85aede82986d2461 (diff)
downloadchromium_src-4ec516851c4f8990c048e6ffa9886dc6074d874a.zip
chromium_src-4ec516851c4f8990c048e6ffa9886dc6074d874a.tar.gz
chromium_src-4ec516851c4f8990c048e6ffa9886dc6074d874a.tar.bz2
Teach LayoutTestController about the pref to enable the appcache.
Review URL: http://codereview.chromium.org/196030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index fbfda9f..6244cd1 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -922,6 +922,8 @@ void LayoutTestController::overridePreference(
preferences->xss_auditor_enabled = CppVariantToBool(value);
else if (key == "WebKitLocalStorageEnabledPreferenceKey")
preferences->local_storage_enabled = CppVariantToBool(value);
+ else if (key == "WebKitOfflineWebApplicationCacheEnabled")
+ preferences->application_cache_enabled = CppVariantToBool(value);
else {
std::wstring message(L"Invalid name for preference: ");
message.append(ASCIIToWide(key));