diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 23:30:15 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 23:30:15 +0000 |
commit | 4ec516851c4f8990c048e6ffa9886dc6074d874a (patch) | |
tree | 0c3206feefc1ca3d0015e27a616803a96fc8189d /webkit/tools | |
parent | d88e4274d7ab91d3b58af68e85aede82986d2461 (diff) | |
download | chromium_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.cc | 2 |
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)); |