dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.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.

     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