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