summaryrefslogtreecommitdiffstats
path: root/dom/html/test/bug242709_iframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/test/bug242709_iframe.html')
-rw-r--r--dom/html/test/bug242709_iframe.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/html/test/bug242709_iframe.html b/dom/html/test/bug242709_iframe.html
new file mode 100644
index 000000000..1ee3320ae
--- /dev/null
+++ b/dom/html/test/bug242709_iframe.html
@@ -0,0 +1,20 @@
+<html>
+<head>
+<title></title>
+<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
+<script type="text/javascript">
+function submitIframeForm () {
+ document.getElementById('b').submit();
+ document.getElementById('thebutton').disabled = true;
+}
+</script>
+
+</head>
+<body onload="sendMouseEvent({type:'click'}, 'thebutton')">
+
+<form method="get" action="bug242709_load.html" id="b">
+<input type="submit" onclick="submitIframeForm()" id="thebutton">
+</form>
+
+</body>
+</html>