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

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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