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="iso-8859-1"?>
2 <!--
4 Description: atom entry content xhtml works
5 Expect: feed.items.queryElementAt(1, Components.interfaces.nsIFeedEntry).content.plainText() == "test content";
7 -->
8 <feed xmlns="http://www.w3.org/2005/Atom"
9 xmlns:foo="http://www.example.org"
10 foo:quux="quuux">
12 <title>hmm</title>
14 <author>
15 <email>hmm@example.com</email>
16 <name>foo</name>
17 </author>
18 <generator version="1.1" uri="http://example.org">Hmm</generator>
19 <author>
20 <email>bar@example.com</email>
21 <name>foo</name>
22 </author>
23 <rights type="xhtml">
24 <div xmlns="http://www.w3.org/1999/xhtml"><i>test</i> rights</div>
25 </rights>
28 <entry></entry>
30 <entry foo:bar="baz">
31 <title>test</title>
32 <content type="xhtml">
33 <div xmlns="http://www.w3.org/1999/xhtml">
34 <b>test</b> content
35 </div>
36 </content>
37 </entry>
39 </feed>