toolkit/components/feeds/test/xml/rss1/feed_image.xml

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!--
     4 Description: RSS1 feed w/ image
     5 Expect: ((feed.image.getProperty('rss1:link') == 'http://www.xml.com') && (feed.image.getProperty('rss1:url') == 'http://xml.com/universal/images/xml_tiny.gif'))
     7 -->
     8 <rdf:RDF 
     9  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    10  xmlns="http://purl.org/rss/1.0/"
    11  xmlns:dc='http://purl.org/dc/elements/1.1/'>
    13   <channel rdf:about="http://www.xml.com/xml/news.rss">
    14     <title>Test</title>
    15     <link>http://xml.com/pub</link>
    16     <dc:description>another description</dc:description>  
    17     <textInput rdf:resource="http://www.google.com"/>
    18   </channel>
    20   <image rdf:about="http://xml.com/universal/images/xml_tiny.gif">
    21     <title>XML.com</title>
    22     <link>http://www.xml.com</link>
    23     <url>http://xml.com/universal/images/xml_tiny.gif</url>
    24   </image>
    26   <item>
    27    <title>XML: A Disruptive Technology</title> 
    28     <link>http://c.moreover.com/click/here.pl?r123</link>
    29     <dc:description>
    30       XML is placing increasingly heavy loads on the existing technical
    31       infrastructure of the Internet.
    32     </dc:description>
    33     <dc:publisher>The O'Reilly Network</dc:publisher>
    34     <dc:creator>Simon St.Laurent (mailto:simonstl@simonstl.com)</dc:creator>
    35     <dc:rights>Copyright &#169; 2000 O'Reilly &amp; Associates, Inc.</dc:rights>
    36     <dc:subject>XML</dc:subject>
    37   </item> 
    39 </rdf:RDF>

mercurial