summaryrefslogtreecommitdiffstats
path: root/layout/forms/test/bug536567_subframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/forms/test/bug536567_subframe.html')
-rw-r--r--layout/forms/test/bug536567_subframe.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/forms/test/bug536567_subframe.html b/layout/forms/test/bug536567_subframe.html
new file mode 100644
index 0000000000..c1271becf0
--- /dev/null
+++ b/layout/forms/test/bug536567_subframe.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<body>
+<input id="target" type="file" />
+<script type="text/javascript">
+
+window.onload = function() {
+ var fileInput = document.getElementById("target");
+ fileInput.click();
+};
+
+</script>
+</body>
+</html>