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.
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
4 Description: HTML title w/ CDATA
5 Expect: var title = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).title.plainText(); title == "<title>";
7 -->
8 <feed xmlns="http://www.w3.org/2005/Atom">
9 <id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom</id>
10 <title>Atom item title html cdata</title>
11 <updated>2005-12-18T00:13:00Z</updated>
12 <author>
13 <name>Phil Ringnalda</name>
14 <uri>http://weblog.philringnalda.com/</uri>
15 </author>
16 <link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom"/>
17 <entry>
18 <id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom/1</id>
19 <title type="html"><![CDATA[<title>]]></title>
20 <updated>2005-12-18T00:13:00Z</updated>
21 <summary>An item with a type="html" title consisting of a less-than
22 character, the word 'title' and a greater-than character, where
23 the character entity reference for the less-than is escaped by being
24 in a CDATA section.</summary>
25 <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
26 <category term="item title"/>
27 </entry>
28 </feed>