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

Unified Diff: chrome/test/page_cycler/page_cycler_test.cc

Issue 402029: Don't allow content scripts to execute on file:// urls.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension3.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/page_cycler/page_cycler_test.cc
===================================================================
--- chrome/test/page_cycler/page_cycler_test.cc (revision 32232)
+++ chrome/test/page_cycler/page_cycler_test.cc (working copy)
@@ -162,6 +162,9 @@
// Expose garbage collection for the page cycler tests.
launch_arguments_.AppendSwitchWithValue(switches::kJavaScriptFlags,
L"--expose_gc");
+ // Page cycler tests need to run content scripts on file:// urls.
+ launch_arguments_.AppendSwitch(switches::kEnableJsOnFileUrls);
+
#if defined(OS_MACOSX)
static rlim_t initial_fd_limit = GetFileDescriptorLimit();
fd_limit_ = initial_fd_limit;
« no previous file with comments | « chrome/test/data/extensions/ui/create_extension_detail_value_expected_output/good-extension3.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698