tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

experimental-commands.ftl (1844B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # These strings aren't translated and are meant to be used for experimental commands
      6 # which may frequently update their documentations
      7 
      8 # Usage string for :trace command
      9 webconsole-commands-usage-trace3 =
     10   :trace
     11 
     12   Toggles the JavaScript tracer.
     13 
     14   The tracer will display all functions being called by your page.
     15 
     16     It supports the following arguments:
     17       --logMethod to be set to ‘console’ for logging to the web console (the default), or ‘stdout’ for logging to the standard output.
     18 
     19       --return Optional flag to be passed to also log when functions return.
     20 
     21       --values Optional flag to be passed to log function call arguments as well as returned values (when returned frames are enabled).
     22 
     23       --on-next-interaction Optional flag, when set, the tracer will only start on next mousedown or keydown event.
     24 
     25       --dom-mutations Optional flag, when set, the tracer will log all DOM Mutations.
     26                       When passing a value, you can restrict to a particular mutation type via a coma-separated list:
     27                        - ‘add’ will only track DOM Node being added,
     28                        - ‘attributes’ will only track DOM Node whose attributes changed,
     29                        - ‘remove’ will only track DOM Node being removed.
     30 
     31       --max-depth Optional flag, will restrict logging trace to a given depth passed as argument.
     32 
     33       --max-records Optional flag, will automatically stop the tracer after having logged the passed amount of top level frames.
     34 
     35       --prefix Optional string which will be logged in front of all the trace logs.
     36 
     37       --help or --usage to show this message.