browser/components/sessionstore/test/browser_466937_sample.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial