Rewrite AppDomain to handle uncaughts & promises

This commit is contained in:
2022-04-06 13:51:04 +09:00
parent 7dedaf8d77
commit 5674f3936c
9 changed files with 137 additions and 91 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ class WebFrame
{
if( !( this.result instanceof Buffer ) )
{
this.result = new Buffer( this.result + "" );
this.result = Buffer.from( this.result + "" );
}
var acceptEncoding = this.HTTP.request.headers[ "accept-encoding" ] || "";