summaryrefslogtreecommitdiffstats
path: root/toolkit/components/feeds/test/xml/rss2/feed_image_desc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/feeds/test/xml/rss2/feed_image_desc.xml')
-rw-r--r--toolkit/components/feeds/test/xml/rss2/feed_image_desc.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolkit/components/feeds/test/xml/rss2/feed_image_desc.xml b/toolkit/components/feeds/test/xml/rss2/feed_image_desc.xml
new file mode 100644
index 000000000..7f665641b
--- /dev/null
+++ b/toolkit/components/feeds/test/xml/rss2/feed_image_desc.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+
+Description: channel image description and required fields work
+Expect: ((feed.image.getProperty('title') == 'A picture') && (feed.image.getProperty('link') == 'http://example.org') && (feed.image.getProperty('url') == 'http://example.org/a.jpg') && (feed.image.getProperty('description') == 'Yo!'))
+
+-->
+<rss version="2.0" >
+<channel>
+<image>
+ <link>http://example.org</link>
+ <title>A picture</title>
+ <url>http://example.org/a.jpg</url>
+ <description>Yo!</description>
+</image>
+</channel>
+</rss> \ No newline at end of file