dom/xbl/builtin/input-fields-base.inc

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.

     1     <handler event="keypress" keycode="VK_LEFT" command="cmd_charPrevious"/>
     2     <handler event="keypress" keycode="VK_RIGHT" command="cmd_charNext"/>
     3     <handler event="keypress" keycode="VK_LEFT" modifiers="shift"
     4         command="cmd_selectCharPrevious"/>
     5     <handler event="keypress" keycode="VK_RIGHT" modifiers="shift"
     6         command="cmd_selectCharNext"/>
     8     <!-- Cut/copy/paste/undo -->
     9     <handler event="keypress" key="c" modifiers="accel" command="cmd_copy"/>
    10     <handler event="keypress" key="x" modifiers="accel" command="cmd_cut"/>
    11     <handler event="keypress" key="v" modifiers="accel" command="cmd_paste"/>
    12     <handler event="keypress" key="z" command="cmd_redo" modifiers="accel,shift" />
    13     <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/>

mercurial