summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGustavo Lima Chaves <limachaves@gmail.com>2022-01-25 09:43:21 +0000
committerJan Rybar <jrybar@redhat.com>2022-01-25 09:43:21 +0000
commitc7fc4e1b61f0fd82fc697c19c604af7e9fb291a2 (patch)
tree4b39c1330a74462aa06638284d7ba01f1729c134 /docs
parent92b910ce2273daf6a76038f6bd764fa6958d4e8e (diff)
downloadpolkit-c7fc4e1b61f0fd82fc697c19c604af7e9fb291a2.tar.gz
Added support for duktape as JS engine
Original author: Wu Xiaotian (@yetist) Resurrection author, runaway-killer author: Gustavo Lima Chaves (@limachaves)
Diffstat (limited to 'docs')
-rw-r--r--docs/man/polkit.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/man/polkit.xml b/docs/man/polkit.xml
index 99aa474..90715a5 100644
--- a/docs/man/polkit.xml
+++ b/docs/man/polkit.xml
@@ -639,7 +639,9 @@ polkit.Result = {
If user-provided code takes a long time to execute, an exception
will be thrown which normally results in the function being
terminated (the current limit is 15 seconds). This is used to
- catch runaway scripts.
+ catch runaway scripts. If the duktape JavaScript backend is
+ compiled in, instead of mozjs, no exception will be thrown—the
+ script will be killed right away (same timeout).
</para>
<para>