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

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 201048: Support running tests under LayoutTests/http/tests/local as local file, in or... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
Index: webkit/tools/test_shell/test_shell.cc
===================================================================
--- webkit/tools/test_shell/test_shell.cc (revision 25942)
+++ webkit/tools/test_shell/test_shell.cc (working copy)
@@ -423,6 +423,10 @@
web_prefs_->local_storage_enabled = true;
web_prefs_->session_storage_enabled = true;
web_prefs_->application_cache_enabled = false;
+
+ // Allow those layout tests running as local files, i.e. under
+ // LayoutTests/http/tests/local, to access http server.
+ web_prefs_->allow_universal_access_from_file_urls = true;
darin (slow to review) 2009/09/11 03:41:48 it seems like this should only be set to true when
}
}

Powered by Google App Engine
This is Rietveld 408576698