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

Unified Diff: content/public/common/content_switches.cc

Issue 11139006: Revert 161634 - [content shell] allow universal access from file URLs in layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/shell/shell_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
===================================================================
--- content/public/common/content_switches.cc (revision 161658)
+++ content/public/common/content_switches.cc (working copy)
@@ -10,11 +10,6 @@
// override for developers who need the old behavior for testing.
const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files";
-// Explicitely grant the ability to access every other SecurityOrigin to
-// file URLs. This is a security havoc and should only be used for testing.
-const char kAllowUniversalAccessFromFiles[] =
- "allow-universal-access-from-files";
-
// Allows debugging of sandboxed processes (see zygote_main_linux.cc).
const char kAllowSandboxDebugging[] = "allow-sandbox-debugging";
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/shell/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698