Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
michael@0 | 2 | <!-- |
michael@0 | 3 | |
michael@0 | 4 | Description: item enclosure is added to enclosures array |
michael@0 | 5 | Expect: var encs = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).enclosures; encs.QueryInterface(Components.interfaces.nsIArray); var enc = encs.queryElementAt(0, Components.interfaces.nsIPropertyBag2); ((enc.getProperty('length') == '24986239') && (enc.getProperty('type') == 'audio/mpeg') && (enc.getProperty('url') == 'http://dallas.example.com/joebob_050689.mp3')); |
michael@0 | 6 | |
michael@0 | 7 | --> |
michael@0 | 8 | <rss version="2.0" > |
michael@0 | 9 | <channel> |
michael@0 | 10 | <item> |
michael@0 | 11 | |
michael@0 | 12 | <enclosure length="24986239" type="audio/mpeg" url="http://dallas.example.com/joebob_050689.mp3" /> |
michael@0 | 13 | <author>jbb@dallas.example.com (Joe Bob Briggs)</author> |
michael@0 | 14 | <comments>http://example.org</comments> |
michael@0 | 15 | <title>test</title> |
michael@0 | 16 | |
michael@0 | 17 | <category domain="foo">bar</category> |
michael@0 | 18 | |
michael@0 | 19 | <description>I'm headed for France. I wasn't gonna go this year, but then last week <a href="http://www.imdb.com/title/tt0086525/">Valley Girl</a> came out and I said to myself, Joe Bob, you gotta get out of the country for a while.</description></item> |
michael@0 | 20 | </channel> |
michael@0 | 21 | </rss> |