browser/components/sessionstore/test/browser_466937_sample.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!-- Testcase originally by <moz_bug_r_a4@yahoo.com> -->
michael@0 2
michael@0 3 <!DOCTYPE html>
michael@0 4 <meta charset="utf-8">
michael@0 5 <title>Test for bug 466937</title>
michael@0 6
michael@0 7 <input id="thief" value="/home/user/secret">
michael@0 8 <input type="file" id="reverse_thief">
michael@0 9 <input type="file" id="bystander">
michael@0 10
michael@0 11 <script>
michael@0 12 window.addEventListener("DOMContentLoaded", function() {
michael@0 13 window.removeEventListener("DOMContentLoaded", arguments.callee, false);
michael@0 14 if (!document.location.hash) {
michael@0 15 document.location.hash = "#ready";
michael@0 16 }
michael@0 17 else {
michael@0 18 document.getElementById("thief").type = "file";
michael@0 19 document.getElementById("reverse_thief").type = "text";
michael@0 20 }
michael@0 21 }, false);
michael@0 22 </script>

mercurial