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>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <head>
6 <style>
7 #el7 {
8 font-size:.92em
9 }
10 #el0 {
11 height: 200px ! important;
12 margin: 0px;
13 display: table;
14 font-size:.92em
15 }
17 #el3 {
18 line-height: 0.5px;
19 text-shadow: 0px 5px 5px, 0px -20px 10px;
20 display: table-row-group;
21 transform: translate3d(-3px, -300px, 0px);
22 }
24 #el5 {
25 height:1em;
26 display:block;
27 }
29 .c4 {
30 margin: 1em;
31 padding: 0.5em;
32 }
33 </style>
34 <script>
35 onload = function() {
36 el7=document.createElement('iframe')
37 el7.setAttribute('id', 'el7')
38 document.body.appendChild(el7)
40 el0=document.createElement('span')
41 el0.setAttribute('id','el0')
42 document.body.appendChild(el0)
43 el0.appendChild(document.createTextNode('A'))
45 el3=document.createElement('q')
46 el3.setAttribute('id','el3')
47 el0.appendChild(el3)
49 el5=document.createElement('q')
50 el5.setAttribute('id','el5')
51 el3.appendChild(el5)
53 el0.appendChild(document.createTextNode('A'))
55 document.body.offsetTop
56 el0.setAttribute('class', 'c4');
57 el7.setAttribute('class', 'c4');
58 }
59 </script>
60 </head>
61 <body>
62 </body>
63 </html>