summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/onunload-form-submit-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/manual-tests/onunload-form-submit-crash.html')
-rw-r--r--Source/WebCore/manual-tests/onunload-form-submit-crash.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/onunload-form-submit-crash.html b/Source/WebCore/manual-tests/onunload-form-submit-crash.html
new file mode 100644
index 0000000..1813e3f
--- /dev/null
+++ b/Source/WebCore/manual-tests/onunload-form-submit-crash.html
@@ -0,0 +1,9 @@
+<html>
+<body onUnload="document.myForm.submit()">
+<a href="" onClick="location.href=location.href; return false;">Click here and see if Safari crashes.</a>
+<p>Still with me? Now close the window and see if Safari crashes.</p>
+<form name="myForm">
+</form>
+</body>
+<html>
+