diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-28 21:20:42 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-28 21:20:42 +0000 |
commit | 70b1ada0bd82c6e8318176ef134a37d75b9a0392 (patch) | |
tree | 305bdb83dfa7cae4bfc9bfe0370bfdf47a9c0be2 /chrome/common | |
parent | ec52f0144829c3f0998a7a170c0921760f67a766 (diff) | |
download | chromium_src-70b1ada0bd82c6e8318176ef134a37d75b9a0392.zip chromium_src-70b1ada0bd82c6e8318176ef134a37d75b9a0392.tar.gz chromium_src-70b1ada0bd82c6e8318176ef134a37d75b9a0392.tar.bz2 |
Revert 51042 - Show a warning message if the cache might not be cleared correctly between runs.
Review URL: http://codereview.chromium.org/2834025
TBR=mlloyd@chromium.org
Review URL: http://codereview.chromium.org/2856018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/docs/examples/extensions/benchmark/background.html | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/chrome/common/extensions/docs/examples/extensions/benchmark/background.html b/chrome/common/extensions/docs/examples/extensions/benchmark/background.html index c560e11..d7af961 100644 --- a/chrome/common/extensions/docs/examples/extensions/benchmark/background.html +++ b/chrome/common/extensions/docs/examples/extensions/benchmark/background.html @@ -322,20 +322,6 @@ chrome.extension.onConnect.addListener(function(port) { }); function run() { - if (window.clearCache) { - // Show a warning if we will try to clear the cache between runs - // but will also be reusing the same WebKit instance (i.e. Chrome - // is in single-process mode, or 'Use New Tabs' is turned off) - // because the WebKit cache might not get completely cleared between runs. - if (chrome.benchmarking.isSingleProcess()) { - alert("Warning: the WebKit cache may not be cleared correctly " + - "between runs because Chrome is running in single-process mode."); - } else if (!window.useNewTabs) { - alert("Warning: the WebKit cache may not be cleared correctly " + - "between runs because 'Use New Tabs Per Page' is turned off."); - } - } - var urls = testUrl.split(","); for (var i = 0; i < urls.length; i++) { var benchmark = new Benchmark(); |