summaryrefslogtreecommitdiffstats
path: root/l10n-rm/devtools/shared/webconsole-commands.ftl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /l10n-rm/devtools/shared/webconsole-commands.ftl
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'l10n-rm/devtools/shared/webconsole-commands.ftl')
-rw-r--r--l10n-rm/devtools/shared/webconsole-commands.ftl34
1 files changed, 34 insertions, 0 deletions
diff --git a/l10n-rm/devtools/shared/webconsole-commands.ftl b/l10n-rm/devtools/shared/webconsole-commands.ftl
new file mode 100644
index 0000000000..5e60472c59
--- /dev/null
+++ b/l10n-rm/devtools/shared/webconsole-commands.ftl
@@ -0,0 +1,34 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+
+# These strings are used inside the Web Console commands
+# which can be executed in the Developer Tools, available in the
+# Browser Tools sub-menu -> 'Web Developer Tools'
+
+# Usage string for :block command
+webconsole-commands-usage-block =
+ :block URL_STRING
+
+ Start blocking network requests
+
+ It accepts only one URLSTRING argument, an unquoted string which will be used to block all requests whose URL includes this string.
+ Use :unblock or the Network Monitor request blocking sidebar to undo this.
+# Usage string for :unblock command
+webconsole-commands-usage-unblock =
+ :unblock URL_STRING
+
+ Stop blocking network requests
+
+ It accepts only one argument, the exact same string previously passed to :block.
+# Usage string for :trace command
+webconsole-commands-usage-trace =
+ :trace
+
+ Toggles the JavaScript tracer
+
+ It supports the following arguments:
+ --logMethod to be set to ‘console’ for logging to the web console (the default), or ‘stdout’ for logging to the standard output,
+ --prefix Optional string which will be logged in front of all the trace logs,
+ --help or --usage to show this message.