dom/xbl/test/test_bug844783.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 <!DOCTYPE HTML>
     2 <html>
     3 <!--
     4 https://bugzilla.mozilla.org/show_bug.cgi?id=844783
     5 -->
     6 <head>
     7   <meta charset="utf-8">
     8   <title>Test for Bug 844783</title>
     9   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    10   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    11   <script type="application/javascript">
    13   /** Test for XBL running in content scope for XUL-whitelisted domains. **/
    14   SimpleTest.waitForExplicitFinish();
    16   // Disable the automation pref before loading the test to make sure we load
    17   // the proper configuration.
    18   function setup() {
    19     SpecialPowers.pushPrefEnv({clear: [['dom.use_xbl_scopes_for_remote_xul']] }, continueSetup);
    20   }
    22   // Embed the real test. It will take care of everything else.
    23   function continueSetup() {
    24     $('ifr').setAttribute('src', 'file_bug844783.xhtml');
    25   }
    27   </script>
    28 </head>
    29 <body onload="setup();">
    30 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=844783">Mozilla Bug 844783</a>
    31 <p id="display"></p>
    32 <div id="content">
    33 <iframe id="ifr"></iframe>
    34 </div>
    35 <pre id="test">
    36 </pre>
    37 </body>
    38 </html>

mercurial