mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
1. initialize message variable of ErrorObject correctly
2. merge DeclareFunctionDeclaration, DeclareFunctionDeclarationsInGlobal into DeclareFunctionDeclarations 3. implement EnvironmentRecord::initializeBinding for initialize function decl. Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
4d6d8ae543
commit
f51edbe5d9
15 changed files with 148 additions and 103 deletions
|
|
@ -85,7 +85,7 @@ Script::ScriptSandboxExecuteResult Script::sandboxExecute(Context* ctx)
|
|||
ExecutionState stateForInit(ctx);
|
||||
|
||||
auto sandBoxResult = sb.run([&]() -> Value {
|
||||
return execute(stateForInit);
|
||||
return execute(stateForInit, false, false, true);
|
||||
});
|
||||
result.result = sandBoxResult.result;
|
||||
result.msgStr = sandBoxResult.msgStr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue