browser/components/feeds/test/test_bug589543.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <!--
     4 https://bugzilla.mozilla.org/show_bug.cgi?id=589543
     5 -->
     6 <head>
     7   <title>Test feed preview subscribe UI</title>
     8   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
     9   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
    10 </head>
    11 <body>
    12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=589543">Mozilla Bug 589543</a>
    13 <p id="display"><iframe id="testFrame" src="bug589543-data.xml"></iframe></p>
    14 <div id="content" style="display: none">
    15 </div>
    16 <pre id="test">
    17 <script class="testbody" type="text/javascript">
    19 /** Test for Bug 589543 **/
    20 SimpleTest.waitForExplicitFinish();
    22 addLoadEvent(function() {
    23   var doc = SpecialPowers.wrap($("testFrame")).contentDocument;
    24   var daddy = doc.getElementById("feedSubscribeLine");
    25   var popup = doc.getAnonymousElementByAttribute(daddy, "anonid", "handlersMenuPopup");
    26   isnot(popup, null, "Feed preview should have a handlers popup");
    27 });
    28 addLoadEvent(SimpleTest.finish);
    30 </script>
    31 </pre>
    32 </body>
    33 </html>

mercurial