mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
23 lines
636 B
HTML
23 lines
636 B
HTML
<!-- 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>
|