dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.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 <html>
     2 <body>
     4 <!-- The test relies on the fact that this file is completely empty. -->
     6 <script>
     8 function ok(b, msg)
     9 {
    10   alert((b ? 'pass:' : 'fail:') + msg);
    11 }
    13 var w = window.open("file_empty.html");
    14 w.addEventListener('load', function() {
    15   ok(true, 'Got load.');
    16   ok(w.document.getElementById('url'), 'Found element with id "url"');
    17   alert('finish');
    18 });
    19 </script>
    21 </body>
    22 </html>

mercurial