summaryrefslogtreecommitdiffstats
path: root/browser/components/sessionstore/test/browser_466937_sample.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/sessionstore/test/browser_466937_sample.html')
-rw-r--r--browser/components/sessionstore/test/browser_466937_sample.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/browser/components/sessionstore/test/browser_466937_sample.html b/browser/components/sessionstore/test/browser_466937_sample.html
new file mode 100644
index 000000000..1d46c649a
--- /dev/null
+++ b/browser/components/sessionstore/test/browser_466937_sample.html
@@ -0,0 +1,22 @@
+<!-- Testcase originally by <moz_bug_r_a4@yahoo.com> -->
+
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Test for bug 466937</title>
+
+<input id="thief" value="/home/user/secret">
+<input type="file" id="reverse_thief">
+<input type="file" id="bystander">
+
+<script>
+ window.addEventListener("DOMContentLoaded", function() {
+ window.removeEventListener("DOMContentLoaded", arguments.callee, false);
+ if (!document.location.hash) {
+ document.location.hash = "#ready";
+ }
+ else {
+ document.getElementById("thief").type = "file";
+ document.getElementById("reverse_thief").type = "text";
+ }
+ }, false);
+</script>