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" ?>
2 <!DOCTYPE Test [
3 <!ATTLIST test id ID #REQUIRED>
4 <!ATTLIST foo:test id ID #REQUIRED>
5 <!ATTLIST foo2:test id ID #REQUIRED>
6 <!ATTLIST bar:test id ID #REQUIRED>
7 ]>
9 <!-- Comment -->
11 <?This-is-a-PI ?>
13 <root xmlns:foo="foo"
14 xmlns:bar="bar"
15 xmlns:foo2="foo">
17 <test id="test1">
18 </test>
20 <test id="test2">
21 <!-- Another comment -->
22 <test id="test3">
23 </test>
25 <test id="test4" xmlns="foo">
26 <test id="test5">
27 </test>
29 <bar:test id="test6" />
30 </test>
32 <foo:test id="test7">
33 </foo:test>
35 <foo2:test id="test8">
36 <?Another-PI ?>
37 <baz />
38 </foo2:test>
40 <bar:test id="test9">
41 </bar:test>
42 </test>
44 <foo:test id="test10">
45 <foo2:test id="test11">
46 <bar:test id="test12">
47 </bar:test>
48 </foo2:test>
49 </foo:test>
51 <foo2:test id="test13">
52 </foo2:test>
54 <bar:test id="test14">
55 </bar:test>
57 </root>