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 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Pivot test document</title>
5 <meta charset="utf-8" />
6 </head>
7 <body>
8 <div id="start-block">This is the very beginning.</div>
9 <p id="paragraph-1">
10 This <b>is</b> <a id="p1-link-1" href="#">the</a> test of text.
11 </p>
12 <div id="section-1">A <a id="s1-link-1" href="#">multiword link</a> is here. <a id="s1-link-2" href="#">We</a> will traverse</div>
13 <div id="section-2">into, out, and between the subtrees.</div>
14 <p id="paragraph-2">Singularity.</p>
15 <table>
16 <tr>
17 <td id="cell-1">Magical</td>
18 <td id="cell-2">unicorns</td>
19 </tr>
20 <tr>
21 <td id="cell-3">and wizards</td>
22 <td id="cell-4">really exist.</td>
23 </tr>
24 </table>
25 <div id="section-3">Endless fun!</div>
26 <p id="paragraph-3">Objects<a id="p3-link-1" href="#">adjacent</a>to <a id="p3-link-2" href="#">each</a><a id="p3-link-3" href="#">other</a> should be separate.</p>
27 <div id="end-block">End!</div>
28 </body>
29 </html>