fix(core): disable script clr access

This commit is contained in:
genteure 2023-01-14 23:24:37 +08:00
parent 2d1bd8fed8
commit e636c3a0de

View File

@ -43,7 +43,6 @@ globalThis.recorderEvents = {};
.CatchClrExceptions()
.LimitRecursion(100)
.RegexTimeoutInterval(TimeSpan.FromSeconds(2))
.AllowClr()
.Configure(engine =>
{
engine.Realm.GlobalObject.FastSetProperty("dns", new PropertyDescriptor(new JintDns(engine), writable: false, enumerable: false, configurable: false));