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 with xml:base
5 Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).link.spec == "http://www.example.org/foo";
7 -->
8 <feed xmlns="http://www.w3.org/2005/Atom">
9 <id>tag:example.com,2006:/atom/conformance/linktest/</id>
10 <title>Atom Link Tests</title>
11 <updated>2005-06-18T6:23:00Z</updated>
12 <link href="http://www.example.org" />
14 <entry xml:base="http://www.example.org">
15 <id>tag:example.org,2006:/linkreltest/1</id>
16 <title>Does your reader support xml:base properly? </title>
17 <updated>2006-06-23T12:12:12Z</updated>
18 <link href="foo"/>
19 </entry>
21 </feed>