1 2 3
if (helperThreadCount() > 0) { evalInWorker("try { newGlobal({principal : 5}); } catch (e) {}"); }