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.
michael@0 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
michael@0 | 2 | "http://www.w3.org/TR/REC-html401-19991224/strict.dtd"> |
michael@0 | 3 | <html> |
michael@0 | 4 | <head> |
michael@0 | 5 | <title>Form Elements</title> |
michael@0 | 6 | <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> |
michael@0 | 7 | </head> |
michael@0 | 8 | <body> |
michael@0 | 9 | <p>Check me! <input type="checkbox" id="checkbox1"><br> |
michael@0 | 10 | Uncheck me! <input type="checkbox" checked id="checkbox2"><br> |
michael@0 | 11 | <input type="text" size=30 value="Write something here" id="textinput"><br> |
michael@0 | 12 | <textarea id="textarea">Write something here</textarea><br> |
michael@0 | 13 | </p> |
michael@0 | 14 | </body> |
michael@0 | 15 | </html> |