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

Unified Diff: content/test/data/prompt_beforeunload_infinite_unload.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: Fixes based on feedback and new 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
Index: content/test/data/prompt_beforeunload_infinite_unload.html
diff --git a/content/test/data/prompt_beforeunload_infinite_unload.html b/content/test/data/prompt_beforeunload_infinite_unload.html
new file mode 100644
index 0000000000000000000000000000000000000000..6a30cff64d245deac56a01882fb13f368801a535
--- /dev/null
+++ b/content/test/data/prompt_beforeunload_infinite_unload.html
@@ -0,0 +1,20 @@
+<html>
+<head>
+ <title>Prompting beforeunload, infinite unload</title>
+</head>
+
+<body>
+<script>
+ window.onbeforeunload = function(e) {
+ return false;
+ }
+ window.onunload = function(e) {
+ while(true){}
+ }
+</script>
+
+Prompting beforeunload with inifite unload.
+
+</body>
+
+</html>

Powered by Google App Engine
This is Rietveld 408576698