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 rights works normalized
5 Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).rights.plainText() == "test rights"
7 -->
8 <feed xmlns="http://www.w3.org/2005/Atom">
9 <title type="xhtml">
10 <div xmlns="http://www.w3.org/1999/xhtml"><b>test</b> title</div>
11 </title>
12 <entry>
13 <rights type="xhtml">
14 <div xmlns="http://www.w3.org/1999/xhtml"><b>test</b> rights</div>
15 </rights>
16 </entry>
17 </feed>