mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
-Implement Object.create.
-Move toString for shell result into sandbox to resolve throw exception.
This commit is contained in:
parent
1a56fe4e48
commit
b2ea88b251
8 changed files with 104 additions and 2 deletions
|
|
@ -45,6 +45,7 @@ Script::ScriptSandboxExecuteResult Script::sandboxExecute(Context* ctx)
|
|||
return execute(ctx);
|
||||
});
|
||||
result.result = sandBoxResult.result;
|
||||
result.msgStr = sandBoxResult.msgStr;
|
||||
result.error.errorValue = sandBoxResult.error;
|
||||
if (!sandBoxResult.error.isEmpty()) {
|
||||
for (size_t i = 0; i < sandBoxResult.stackTraceData.size(); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue