summaryrefslogtreecommitdiffstats
path: root/content/test
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 17:16:42 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 17:16:42 +0000
commit04af706692f548f16b25f2f02ab6b757dea580ad (patch)
tree1962db22e06790fe89be8d783951f44df3ffa819 /content/test
parent1f1effe018bcd3afb1fb09e28c676485f13fc037 (diff)
downloadchromium_src-04af706692f548f16b25f2f02ab6b757dea580ad.zip
chromium_src-04af706692f548f16b25f2f02ab6b757dea580ad.tar.gz
chromium_src-04af706692f548f16b25f2f02ab6b757dea580ad.tar.bz2
Revert 132407 - Fixing a problem, where a hung renderer process is not killed when navigating away
Reverting along with 132852 due to suspected impact on stability numbers. BUG=104346 TEST=Steps to reproduce listed in the bug. Review URL: http://codereview.chromium.org/10065028 TBR=nasko@chromium.org Review URL: https://chromiumcodereview.appspot.com/10356103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test')
-rw-r--r--content/test/data/english_page.html7
-rw-r--r--content/test/data/infinite_beforeunload.html17
-rw-r--r--content/test/data/infinite_unload.html17
-rw-r--r--content/test/mock_render_process_host.cc2
-rw-r--r--content/test/mock_render_process_host.h2
5 files changed, 2 insertions, 43 deletions
diff --git a/content/test/data/english_page.html b/content/test/data/english_page.html
deleted file mode 100644
index 30b0d42..0000000
--- a/content/test/data/english_page.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<html>
-<head><title>This page is in English</title></head>
-<body>
-No joke! This is a page written in English. Awesome don't you think?
-It has to be more than 100 bytes long for the CLD to detect the language correctly.
-</body>
-</html>
diff --git a/content/test/data/infinite_beforeunload.html b/content/test/data/infinite_beforeunload.html
deleted file mode 100644
index 5a3e017..0000000
--- a/content/test/data/infinite_beforeunload.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html>
-<head>
- <title>Infinite beforeunload</title>
-</head>
-
-<body>
-<script>
- window.onbeforeunload = function(e) {
- while(true){}
- }
-</script>
-
-Infinite beforeunload handler.
-
-</body>
-
-</html>
diff --git a/content/test/data/infinite_unload.html b/content/test/data/infinite_unload.html
deleted file mode 100644
index 742df08..0000000
--- a/content/test/data/infinite_unload.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html>
-<head>
- <title>Infinite unload</title>
-</head>
-
-<body>
-<script>
- window.onunload = function(e) {
- while(true){}
- }
-</script>
-
-Infinite unload handler.
-
-</body>
-
-</html>
diff --git a/content/test/mock_render_process_host.cc b/content/test/mock_render_process_host.cc
index 2a16e00..03c2c27 100644
--- a/content/test/mock_render_process_host.cc
+++ b/content/test/mock_render_process_host.cc
@@ -54,7 +54,7 @@ int MockRenderProcessHost::GetNextRoutingID() {
void MockRenderProcessHost::CancelResourceRequests(int render_widget_id) {
}
-void MockRenderProcessHost::SimulateSwapOutACK(
+void MockRenderProcessHost::CrossSiteSwapOutACK(
const ViewMsg_SwapOut_Params& params) {
}
diff --git a/content/test/mock_render_process_host.h b/content/test/mock_render_process_host.h
index b700697..7d4b50a 100644
--- a/content/test/mock_render_process_host.h
+++ b/content/test/mock_render_process_host.h
@@ -37,7 +37,7 @@ class MockRenderProcessHost : public RenderProcessHost {
virtual bool Init() OVERRIDE;
virtual int GetNextRoutingID() OVERRIDE;
virtual void CancelResourceRequests(int render_widget_id) OVERRIDE;
- virtual void SimulateSwapOutACK(
+ virtual void CrossSiteSwapOutACK(
const ViewMsg_SwapOut_Params& params) OVERRIDE;
virtual bool WaitForBackingStoreMsg(int render_widget_id,
const base::TimeDelta& max_delay,