toolkit/components/feeds/test/xml/rss2/mrss_content_429049.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: this tests bug 429049.  the item with a valid url is added to the enclosures array and the item with an empty url does not.
     5 Expect: var encs = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).enclosures; encs.QueryInterface(Components.interfaces.nsIArray); (encs.length == 1);
     7 -->
     8 <rss xmlns:media="http://search.yahoo.com/mrss" version="2.0" >
     9 <channel>
    11 <item>
    12 <media:content fileSize="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</title>
    17 <category domain="foo">bar</category>
    18 <description>no description</description>
    19 </item>
    21 <item>
    22 <media:content url="" height="" width=""></media:content>
    23 <author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    24 <comments>http://example.org</comments>
    25 <title>test empty</title>
    27 <category domain="foo">bar</category>
    28 <description>no description</description>
    29 </item>
    31 </channel>
    32 </rss>

mercurial