embedding/test/bug293834_form.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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>
michael@0 2
michael@0 3 <html>
michael@0 4 <head>
michael@0 5 <title>Nested iframe for bug 293834</title>
michael@0 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
michael@0 7 </head>
michael@0 8 <body>
michael@0 9 <form>
michael@0 10 not prefilled: <input id="a-text" type="text"></input><br>
michael@0 11 prefilled: <input id="a-prefilled-text" type="text" value="prefill "></input><br>
michael@0 12
michael@0 13 <input name="a-radio" id="radioa" value="radio-a" type="radio">Should be saved checked</input><br>
michael@0 14 <input name="a-radio" value="radio-c" type="radio" checked="true">Initially checked</input><br>
michael@0 15 <select id="aselect">
michael@0 16 <option value="target">Should be saved selected</option>
michael@0 17 <option value="default" selected="selected">Default Selected</option>
michael@0 18 </select><br>
michael@0 19 not prefilled: <textarea id="a-textbox"></textarea><br>
michael@0 20 prefilled: <textarea id="a-prefilled-textbox">prefill </textarea><br>
michael@0 21 <input id="a-checkbox" type="checkbox">Should be saved checked</input><br>
michael@0 22 <input id="a-prefilled-checkbox" type="checkbox" checked="true">Initiallly checked</input><br>
michael@0 23 </form>
michael@0 24 </body>
michael@0 25 </html>
michael@0 26

mercurial