toolkit/components/feeds/test/xml/rss2/item_description_decode_entities.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="utf-8"?>
     2 <!--
     4 Description: item desc encoded, double-escaped entity
     5 Expect: var summary = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).summary; summary.plainText() == "test D\u00e9sol\u00e9e";
     7 -->
     8 <rss version="2.0" >
     9 <channel>
    10 <item>
    11 <comments>http://example.org</comments>
    12 <author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    13 <title>test</title>
    14 <category domain="foo">bar</category>
    16 <description>
    17   &lt;b>test D&amp;eacute;sol&amp;eacute;e&lt;/b> 
    18 </description>
    19 </item>
    20 </channel>
    21 </rss>

mercurial