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

Unified Diff: content/test/data/infinite_beforeunload.html

Issue 10008015: Fixing a problem, where a hung renderer process is not killed when navigating away (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing an uninitialized variable and improving the test. Created 8 years, 8 months 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 | « content/test/data/english_page.html ('k') | content/test/data/infinite_unload.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/infinite_beforeunload.html
diff --git a/content/test/data/infinite_beforeunload.html b/content/test/data/infinite_beforeunload.html
new file mode 100644
index 0000000000000000000000000000000000000000..5a3e017f6815b4ff7d18dbb4d92fc1bef34935bc
--- /dev/null
+++ b/content/test/data/infinite_beforeunload.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+ <title>Infinite beforeunload</title>
+</head>
+
+<body>
+<script>
+ window.onbeforeunload = function(e) {
+ while(true){}
+ }
+</script>
+
+Infinite beforeunload handler.
+
+</body>
+
+</html>
« no previous file with comments | « content/test/data/english_page.html ('k') | content/test/data/infinite_unload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698