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 <script>
5 var timeEvent = document.createEvent('TimeEvent');
6 var mutationEvent = document.createEvent('MutationEvents');
7 mutationEvent.__proto__ = timeEvent;
8 mutationEvent.target;
10 var mouseScrollEvent = document.createEvent("MouseScrollEvents");
11 var mouseEvent = document.createEvent("MouseEvents");
12 mouseEvent.__proto__ = mouseScrollEvent;
13 mouseEvent.relatedTarget;
15 var uiEvent = document.createEvent("UIEvents");
16 uiEvent.__proto__ = mouseScrollEvent;
17 uiEvent.rangeParent;
18 </script>
19 </head>
20 </html>