toolkit/components/feeds/test/xml/rss2/mrss_content_429049.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/feeds/test/xml/rss2/mrss_content_429049.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<?xml version="1.0" encoding="iso-8859-1"?>
     1.5 +<!--
     1.6 +
     1.7 +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.
     1.8 +Expect: var encs = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).enclosures; encs.QueryInterface(Components.interfaces.nsIArray); (encs.length == 1);
     1.9 +
    1.10 +-->
    1.11 +<rss xmlns:media="http://search.yahoo.com/mrss" version="2.0" >
    1.12 +<channel>
    1.13 +
    1.14 +<item>
    1.15 +<media:content fileSize="24986239" type="audio/mpeg" url="http://dallas.example.com/joebob_050689.mp3" /> 
    1.16 +<author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    1.17 +<comments>http://example.org</comments>
    1.18 +<title>test</title>
    1.19 +
    1.20 +<category domain="foo">bar</category>
    1.21 +<description>no description</description>
    1.22 +</item>
    1.23 +
    1.24 +<item>
    1.25 +<media:content url="" height="" width=""></media:content>
    1.26 +<author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    1.27 +<comments>http://example.org</comments>
    1.28 +<title>test empty</title>
    1.29 +
    1.30 +<category domain="foo">bar</category>
    1.31 +<description>no description</description>
    1.32 +</item>
    1.33 +
    1.34 +</channel>
    1.35 +</rss>

mercurial