From 1c966c891f7f495fd08c84b58ec145bd6bd7d181 Mon Sep 17 00:00:00 2001 From: "cevans@chromium.org" Date: Wed, 11 Nov 2009 02:27:48 +0000 Subject: Add method to control whether local files get universal access during testing. This is required to test any form of local filesystem access restrictions. BUG=20450 TEST=Needed for LayoutTests/fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html Review URL: http://codereview.chromium.org/384015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31643 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/layout_test_controller.h | 1 + 1 file changed, 1 insertion(+) (limited to 'webkit/tools/test_shell/layout_test_controller.h') diff --git a/webkit/tools/test_shell/layout_test_controller.h b/webkit/tools/test_shell/layout_test_controller.h index d84d5cb..1ddb879 100644 --- a/webkit/tools/test_shell/layout_test_controller.h +++ b/webkit/tools/test_shell/layout_test_controller.h @@ -187,6 +187,7 @@ class LayoutTestController : public CppBoundClass { void setXSSAuditorEnabled(const CppArgumentList& args, CppVariant* result); void evaluateScriptInIsolatedWorld(const CppArgumentList& args, CppVariant* result); void overridePreference(const CppArgumentList& args, CppVariant* result); + void setAllowUniversalAccessFromFileURLs(const CppArgumentList& args, CppVariant* result); // The fallback method is called when a nonexistent method is called on // the layout test controller object. -- cgit v1.1