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 <html xmlns="http://www.w3.org/1999/xhtml">
2 <!--
3 https://bugzilla.mozilla.org/show_bug.cgi?id=226361
4 -->
5 <head>
6 <title>Test for Bug 226361</title>
7 </head>
8 <body id="body">
9 <p id="display">
11 <a id="a1" tabindex="3" href="http://home.mozilla.org">This is the 1st
13 link but the 3rd tabindex</a><br />
15 <br />
17 <a id="a2" tabindex="4" href="http://home.mozilla.org">This is the 2nd
19 link but the 4th tabindex</a><br />
21 <br />
23 <a id="a3" tabindex="1" href="http://home.mozilla.org">This is the 3rd
25 link but the 1st tabindex</a><br />
27 <br />
29 <a id="a4" tabindex="5" href="http://home.mozilla.org">This is the 4th
31 link but the 5th tabindex</a><br />
33 <br />
35 <a id="a5" tabindex="2" href="http://home.mozilla.org">This is the 5th
37 link but the 2nd tabindex</a>
39 </p>
40 <div id="content" style="display: none">
42 </div>
43 <pre id="test">
45 </pre>
46 </body>
47 </html>