summaryrefslogtreecommitdiff
path: root/ManualTests/navigation-during-onload-triggered-by-back.html
diff options
context:
space:
mode:
Diffstat (limited to 'ManualTests/navigation-during-onload-triggered-by-back.html')
-rw-r--r--ManualTests/navigation-during-onload-triggered-by-back.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/ManualTests/navigation-during-onload-triggered-by-back.html b/ManualTests/navigation-during-onload-triggered-by-back.html
new file mode 100644
index 000000000..09a5f57de
--- /dev/null
+++ b/ManualTests/navigation-during-onload-triggered-by-back.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+</head>
+<body>
+<p>Same-document navigation in onload triggered by back navigation.</p>
+ <ol>
+ <li>Start the layout test web server with Tools/Scripts/run-webkit-httpd.</li>
+ <li>Click <a href="resources/navigation-during-onload-container.html">here</a>.</li>
+ <li>Click Back.</li>
+ </ol>
+<p>You should not crash.</p>
+<p>We cannot use history.back() to test this, because it calls Page::goToItem
+(which calls FrameLoader::stopAllLoaders) first. Chromium's back button does
+not call stopAllLoaders first.</p>
+</body>
+</html>