dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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