diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 03:21:13 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 03:21:13 +0000 |
commit | 5f8681f6e104c322166e4bb860e242a86a601e13 (patch) | |
tree | d8e1516961fc938178e46ebdc2df9e7d5458a67c /chrome/common/chrome_switches.h | |
parent | a3d46f7e58274fc65cb89628a8e89fc49bca2750 (diff) | |
download | chromium_src-5f8681f6e104c322166e4bb860e242a86a601e13.zip chromium_src-5f8681f6e104c322166e4bb860e242a86a601e13.tar.gz chromium_src-5f8681f6e104c322166e4bb860e242a86a601e13.tar.bz2 |
Don't allow content scripts to execute on file:// urls.
This requires a command line flag for the page cycler tests,
since those load file:// urls.
BUG=27877
TEST=Bunch of tests affected.
Review URL: http://codereview.chromium.org/402029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32271 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.h')
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index db22875..3ab2fb7 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -70,6 +70,7 @@ extern const char kEnableExperimentalWebGL[]; extern const char kEnableExtensionTimelineApi[]; extern const char kEnableFastback[]; extern const char kEnableFileCookies[]; +extern const char kEnableJsOnFileUrls[]; extern const char kDisableLocalStorage[]; extern const char kEnableLogging[]; extern const char kEnableMonitorProfile[]; |