Commit 6b5581b4 authored by Ray Strode's avatar Ray Strode

jsauthority: call JS_InitSelfHostedCode

This is now required
parent 5067c830
......@@ -459,6 +459,9 @@ polkit_backend_js_authority_constructed (GObject *object)
if (authority->priv->cx == NULL)
goto fail;
if (!JS::InitSelfHostedCode (authority->priv->cx))
goto fail;
/* TODO: JIT'ing doesn't work will with killing runaway scripts... I think
* this is just a SpiderMonkey bug. So disable the JIT for now.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment