toolkit/components/feeds/test/xml/rss2/item_enclosure_mixed.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="iso-8859-1"?>
     2 <!--
     4 Description: feed with different kinds of enclosures that should be TYPE_FEED (0)
     5 Expect: ((feed.type == 0) && (feed.enclosureCount == 2));
     7 -->
     8 <rss version="2.0" >
     9 <channel>
    11 <item>
    12 <enclosure length="24986239" type="audio/mpeg" url="http://dallas.example.com/joebob_050689.mp3" /> 
    13 <author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    14 <comments>http://example.org</comments>
    15 <title>test audio</title>
    17 <category domain="foo">bar</category>
    19 <description>Listen to the words that are coming out of my mouth.</description>
    20 </item>
    22 <item>
    23 <enclosure length="3000000" type="video/mpeg" url="http://dallas.example.com/joebob_pants.mpeg" /> 
    24 <author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    25 <comments>http://example.org</comments>
    26 <title>test video</title>
    28 <category domain="foo">bar</category>
    30 <description>Look into my eyes....</description>
    31 </item>
    32 </channel>
    33 </rss>

mercurial