dom/xbl/test/test_bug950909.xul

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 <?xml version="1.0"?>
     2 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
     3 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
     4 <!--
     5 https://bugzilla.mozilla.org/show_bug.cgi?id=950909
     6 -->
     7 <window title="Mozilla Bug 950909"
     8         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     9   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
    11   <!-- test results are displayed in the html:body -->
    12   <body xmlns="http://www.w3.org/1999/xhtml">
    13   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=950909"
    14      target="_blank">Mozilla Bug 950909</a>
    15   </body>
    17   <!-- test code goes here -->
    18   <script type="application/javascript">
    19   <![CDATA[
    21   /*
    22    * Test for bug 950909. This has to be a chrome tests because content needs
    23    * to apply a chrome binding (file_bug950909.xml), which will only be registered
    24    * as a chrome:// URI during mochitest-chrome runs. And the binding has to be
    25    * served from a chrome origin, because otherwise implements="nsIFoo" attributes
    26    * are ignored. So this test needs 3 files, all told. Ugh.
    27    */
    29   // Just wait. When the iframe loads, it'll apply the binding, which will
    30   // trigger the constructor for the binding.
    31   SimpleTest.waitForExplicitFinish();
    33   ]]>
    34   </script>
    35   <iframe src="http://example.com/tests/dom/xbl/test/file_bug950909.html"/>
    36 </window>

mercurial