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" encoding="UTF-8"?>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <body>
4 <a href="http://mozilla.org" id="link">I'm a link!</a>
5 <a href="http://mozilla.org" id="longLink">I'm a really long link and I should be truncated.</a>
7 <span id="plainText">
8 Right clicking me when I'm selected should show the menu item.
9 </span>
10 <span id="mixedContent">
11 I'm some text, and <a href="http://mozilla.org">I'm a link!</a>
12 </span>
14 <a href="http://mozilla.org">A partial <span id="partialLink">link selection</span></a>
15 </body>
16 </html>