dom/xbl/test/test_bug372769.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/xbl/test/test_bug372769.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<!--
     1.7 +https://bugzilla.mozilla.org/show_bug.cgi?id=372769
     1.8 +-->
     1.9 +<head>
    1.10 +  <meta charset="utf-8">
    1.11 +  <title>Test for Bug 372769</title>
    1.12 +  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    1.13 +  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    1.14 +  <script type="application/javascript">
    1.15 +
    1.16 +  SimpleTest.waitForExplicitFinish();
    1.17 +
    1.18 +  // Embed the real test. It will take care of everything else.
    1.19 +  function setup() {
    1.20 +    SpecialPowers.pushPrefEnv({'set': [['dom.use_xbl_scopes_for_remote_xul', false]]}, go);
    1.21 +  }
    1.22 +  function go() {
    1.23 +    $('ifr').setAttribute('src', 'file_bug372769.xhtml');
    1.24 +  }
    1.25 +
    1.26 +  </script>
    1.27 +</head>
    1.28 +<body onload="setup();">
    1.29 +<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=372769">Mozilla Bug 372769</a>
    1.30 +<p id="display"></p>
    1.31 +<div id="content">
    1.32 +<iframe id="ifr"></iframe>
    1.33 +</div>
    1.34 +<pre id="test">
    1.35 +</pre>
    1.36 +</body>
    1.37 +</html>

mercurial