diff options
Diffstat (limited to 'toolkit/components/feeds/test/xml/rss2/feed_image_required.xml')
-rw-r--r-- | toolkit/components/feeds/test/xml/rss2/feed_image_required.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/toolkit/components/feeds/test/xml/rss2/feed_image_required.xml b/toolkit/components/feeds/test/xml/rss2/feed_image_required.xml new file mode 100644 index 000000000..9035523a1 --- /dev/null +++ b/toolkit/components/feeds/test/xml/rss2/feed_image_required.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + +Description: channel image 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')) + +--> +<rss version="2.0" > +<channel> +<image> + <link>http://example.org</link> + <title>A picture</title> + <url>http://example.org/a.jpg</url> +</image> +</channel> +</rss>
\ No newline at end of file |