From c7fc4e1b61f0fd82fc697c19c604af7e9fb291a2 Mon Sep 17 00:00:00 2001 From: Gustavo Lima Chaves Date: Tue, 25 Jan 2022 09:43:21 +0000 Subject: Added support for duktape as JS engine Original author: Wu Xiaotian (@yetist) Resurrection author, runaway-killer author: Gustavo Lima Chaves (@limachaves) --- docs/man/polkit.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') 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). -- cgit v1.2.1