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

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

Issue 9514016: 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: Created 8 years, 10 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: chrome/test/data/infinite_beforeunload.html
diff --git a/chrome/test/data/infinite_beforeunload.html b/chrome/test/data/infinite_beforeunload.html
new file mode 100644
index 0000000000000000000000000000000000000000..785ad0fdbd876d91f32d383067bd6464cbc5fafb
--- /dev/null
+++ b/chrome/test/data/infinite_beforeunload.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+ <title>Infinite beforeunload</title>
+</head>
+
+<body>
+<script>
+ window.onbeforeunload = function(e) {
+ while(true){}
+ }
+</script>
+</body>
+
+</html>

Powered by Google App Engine
This is Rietveld 408576698