diff options
author | mlloyd@chromium.org <mlloyd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 18:52:50 +0000 |
---|---|---|
committer | mlloyd@chromium.org <mlloyd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 18:52:50 +0000 |
commit | 7dc1bf9738f847dc0c1321d4f3bc6bd2a1d74573 (patch) | |
tree | c7c4fe0d8dac7a064bd639a0a49ec461479a6427 /chrome | |
parent | dbbbd0c9de5cd224b1dbb064455fb8a28985a1ab (diff) | |
download | chromium_src-7dc1bf9738f847dc0c1321d4f3bc6bd2a1d74573.zip chromium_src-7dc1bf9738f847dc0c1321d4f3bc6bd2a1d74573.tar.gz chromium_src-7dc1bf9738f847dc0c1321d4f3bc6bd2a1d74573.tar.bz2 |
Revert "Show a warning message if the cache might not be cleared correctly between runs."
This reverts commit f98a0891c5baa2bc173fd93f22c18d5686d2c810 / revision 50623.
Review URL: http://codereview.chromium.org/2856015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--[-rwxr-xr-x] | 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 100755..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(); |