toolkit/components/feeds/test/xml/rfc4287/entry_link_2alts.xml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <?xml version="1.0" encoding="iso-8859-1"?>
     2 <!--
     4 Description: atom entry with random link relations
     5 Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).link.spec == "http://www.snellspace.com/public/linktests/alternate";
     7 -->
     8 <feed xmlns="http://www.w3.org/2005/Atom">
     9   <id>tag:snellspace.com,2006:/atom/conformance/linktest/</id>
    10   <title>Atom Link Tests</title>
    11   <updated>2005-01-18T15:10:00Z</updated>
    12   <author><name>James Snell</name></author>
    13   <link href="http://www.intertwingly.net/wiki/pie/LinkConformanceTests" />
    14   <link rel="self" href="http://www.snellspace.com/public/linktests.xml" />
    16   <entry>
    17     <id>tag:snellspace.com,2006:/atom/conformance/linktest/2</id>
    18     <title>Two alternate links</title>
    19     <updated>2005-01-18T15:00:02Z</updated>
    20     <summary>The aggregator should pick either the second or third link below as the alternate</summary>
    22     <link rel="ALTERNATE" href="http://www.snellspace.com/public/linktests/wrong" />    
    23     <link href="http://www.snellspace.com/public/linktests/alternate" />
    24     <link type="text/plain" href="http://www.snellspace.com/public/linktests/alternate2" />
    25     <link rel="ALTERNATE" href="http://www.snellspace.com/public/linktests/wrong" />
    26   </entry>
    27 </feed>

mercurial